jdev - 2024-06-09


  1. rion

    Hi. with migration vcard4, what's the correct way to deal with muc vcards?

  2. rion

    Hi. with migration vcard4, what's the correct way to deal with muc vcards (for muc users)?

  3. singpolyma

    you can use vcard4 with muc users same as you could use vcard-emp

  4. singpolyma

    you can use vcard4 with muc users same as you could use vcard-temp

  5. rion

    singpolyma: pubsub in muc?

  6. singpolyma

    Its just iqs

  7. rion

    singpolyma: cool! works! I didn't know I can use any pubsub stuff in muc :)

  8. rion

    so the next step is how to figure out if vcard4 is supported on the contact's server. in mucs I know nothing about contact's server. The only way I see for now, is to try vcard4 and on failure try vcard-temp

  9. rion

    or more exactly... 1. check if avatar (vcard-temp) hash update is still in presence 2. try to send pubsub request to get avatar according to xep-0084. 3. if 2 fails fallback to vcard-temp

  10. lovetox

    rion: that's all solved by the server

  11. lovetox

    There are conversion xeps you don't need to know anything about the contact

  12. lovetox

    Simply request like always vcard temp

  13. rion

    lovetox: but can I assume all servers support recent XEPs?

  14. lovetox

    The contact server will handle conversion from pubsub

  15. lovetox

    rion: You don't need to assume anything

  16. lovetox

    You request vcard-temp and you get an answer

  17. rion

    hm will vcard-temp stay forever?

  18. lovetox

    I can not answer this question

  19. lovetox

    If you ask if there is a successor, for avatar distribution in MUC, no there is none

  20. lovetox

    Because vcard-temp still does the job

  21. rion

    yes. that's exactly what I was asking :)

  22. singpolyma

    > Simply request like always vcard temp This works at the moment, but ideally we'd stop doing this and vcard-temp would die

  23. lovetox

    It will not be much different , you will get a notification, and request the avatar afterwards with an iq

  24. lovetox

    Whatever solution that will be it will be trivial to switch to from vcard-temp

  25. singpolyma

    Agree

  26. qy

    > Here it is https://xmpp.org/extensions/xep-0415.html extremely cool. so no implementations presumably?

  27. singpolyma

    Presumably

  28. Link Mauve

    I think zinid left the XMPP community altogether after that XEP.

  29. qy

    shame