XSF Discussion - 2023-07-13


  1. Sam

    XSF folks at FOSSY: anyone want to grab food/beer?

  2. singpolyma

    Sam: ossguy and I are at the sustain it's event at hey love

  3. singpolyma

    Sam: ossguy and I are at the sustain oss event at hey love

  4. Sam

    I'm not familiar with them, but I think they're the folks doing an interview with me tomorrow morning

  5. Link Mauve

    Hi, what happened to this ProtoXEP? Did it ever get voted to get a number, or rejected, or what? https://xmpp.org/extensions/inbox/muc-avatars.html

  6. Kev

    2018-10-05 6) AOB Link Mauve queries the status of the MUC Avatars proto-XEP (https://xmpp.org/extensions/inbox/muc-avatars.html); Kev notes that it had three +1s, and Sam vetoed on-list.

  7. Link Mauve

    Kev, no, this is after 2023-02-15.

  8. Link Mauve

    Now that it is on the Historical track.

  9. Link Mauve

    Following https://github.com/xsf/xeps/pull/1269

  10. Kev

    Ah. So needs to go back to Council then.

  11. Link Mauve

    Speaking of which, Sam, do you agree with this PR? https://github.com/xsf/xeps/pull/1279

  12. Link Mauve

    Council for https://github.com/xsf/xeps/pull/1278

  13. Sam

    Link Mauve: oops, missed that somehow. Yah, that's fine by me. Thanks.

  14. lovetox

    Very interested in the veto

  15. lovetox

    Gajim implements the muc avatar xep and it's the right solution in my opinion

  16. singpolyma

    I'm not sure anything based on vcard-temp can be "the right solution" but maybe an expedient one sometimes

  17. singpolyma

    I find it curious this xep says you need to be joined to get a muc avatar in the currently deployed way. Can vcard-temp not be fetched from outside? I would expect it could

  18. Link Mauve

    singpolyma, MUC is based on presence, you can’t send an iq to a “participant” who isn’t currently joined (they aren’t a participant in that case), nor if you aren’t joined yourself (unless the MUC is configured to let you do so).

  19. singpolyma

    Link Mauve: this is for the muc itself though, not a participant?

  20. lovetox

    singpolyma: only the upload mechanism is vcars temp and for that it is good.

  21. lovetox

    This xep allows exactly what you asked to fetch the avatar while not jpined

  22. lovetox

    This xep allows exactly what you asked to fetch the avatar while not joined, like all other MUC infos

  23. singpolyma

    lovetox: but I think we already can with what we do today?

  24. lovetox

    No

  25. singpolyma

    The xep claims we can't

  26. singpolyma

    But I can't think of any reason why

  27. Link Mauve

    singpolyma, where does it say that?

  28. singpolyma

    Link Mauve: in the intro when talking about why this xep exists

  29. Link Mauve

    Section 2 says “Let users discover the avatar even when not present in the MUC.”

  30. lovetox

    singpolyma: are you saying you can invent a not documented protocol which would allow you to?

  31. singpolyma

    Anyway. In either case if we were going to change current behaviour why would we not change to pep avatar rather than speccing a custom thing for MUC?

  32. Link Mauve

    singpolyma, ah, third paragraph of section 1, that’s the limitation of using presence instead of disco#info.

  33. singpolyma

    lovetox: I'm talking about the currently in-use protocol for muc vcard

  34. lovetox

    Therr is no documented protocol in use

  35. Link Mauve

    singpolyma, the historical track is for documenting existing protocols, which haven’t been through the standards process but are widely used.

  36. singpolyma

    You claim vcard-temp is undocumented?

  37. Link Mauve

    singpolyma, usage of vCard-temp on MUC is documented only in some Ejabberd tutorial.

  38. singpolyma

    And in the vcard-temp xep

  39. Link Mauve

    Is it?

  40. singpolyma

    How is it not? Is the protocol different in some way I have missed?

  41. lovetox

    singpolyma: it's not about vcard temp storage

  42. lovetox

    It's about the distrbution

  43. lovetox

    The disocvery

  44. Link Mauve

    singpolyma, the only mention in XEP-0153 is that you can query other participants’ vCard-temps.

  45. Link Mauve

    It doesn’t mention anything about the rooms themselves.

  46. Link Mauve

    Which is what this ProtoXEP aims to fix.

  47. singpolyma

    You can query the vcard-temp on any jid. A MUC has a jid. The fact that it's a MUC shouldn't affect the protocol?

  48. lovetox

    It's not about the query again

  49. Link Mauve

    singpolyma, and if you read my ProtoXEP that’s exactly what it describes.

  50. singpolyma

    Link Mauve: but then why does the protoxep say we need this new protocol in order to get the avatar for a room we have not joined? That was my question

  51. lovetox

    And if you read the XEP it does not change anything about the query

  52. Link Mauve

    singpolyma, it isn’t about joined or not joined, is it?

  53. Link Mauve

    If you disco#info the room you get the hash of the avatar, so you know whether you support it already or not, because otherwise you have to always fetch the avatar of every room you come across whether they changed or not.

  54. Link Mauve

    It can make a lot of traffic on each client’s startup if the user has a lot of rooms.

  55. singpolyma

    Ok, I think I see what is misunderstood > Some implementations recently chose to advertise those avatars using the existing vCard-Based Avatars (XEP-0153) [2] extension in <presence/>, but it exposed issues in other implementations, and was only available when the user is already present in the room, not before joining it (for example when listing all available rooms). Sounded to me like "was only available" was referring to the avatar, but in fact is referring to the extension.

  56. singpolyma

    Ok, I think I see what I misunderstood > Some implementations recently chose to advertise those avatars using the existing vCard-Based Avatars (XEP-0153) [2] extension in <presence/>, but it exposed issues in other implementations, and was only available when the user is already present in the room, not before joining it (for example when listing all available rooms). Sounded to me like "was only available" was referring to the avatar, but in fact is referring to the extension.

  57. Link Mauve

    singpolyma, it refers to section 5.2.

  58. Link Mauve

    Any suggestion as to how it could be formulated better?

  59. singpolyma

    I am also curious how a new protocol nt yet in use can be "Historical" but I don't care much about that and I certainly agree if anyone implements it it should be considered almost as though historical so I kinda get it

  60. Link Mauve

    singpolyma, Prosody already implements it, under the {http://modules.prosody.im/mod_vcard_muc}avatar#sha1 field var instead of the proposed muc#roominfo_avatarhash though.

  61. singpolyma

    Link Mauve: maybe it could say "exposed issues in other implementations, and this extra metadata was only available after joining the room" I think something like this is more clear than "it"

  62. Zash

    Prosody and ejabberd also implement the xep-0153 way that caused trouble for some clients, but if you're thinking "a jid is a jid" then that's that and no further xep is needed, and the prosody ways is not needed.

  63. lovetox

    It's about the discovery of the hash

  64. lovetox

    Of course we need a mechanism

  65. lovetox

    And presence is a bad one for a muc

  66. Zash

    Right you only get it by joining with the 153-only method

  67. lovetox

    We need to disco mucs anyway, and the best way is to add it there

  68. Zash

    Plus MUC alrady had that notification message for configuration change

  69. nicoco

    advertising the room avatar hash in the disco info of the room, I didn't know this was a thing in prosody. any clients use that yet?

  70. Zash

    Gajim?

  71. lovetox

    Yes you can test it on the muc join dialog nicoco

  72. nicoco

    cool, so something like `<field var='{http://modules.prosody.im/mod_vcard_muc}avatar#sha1'><value>thehash` in the extended disco features?

  73. lovetox

    Yes you can check disco info of the prosody muc

  74. Zash

    Right here too. :)

  75. arc

    Zash, missing you at Fossy. Will you go next year?

  76. Zash

    Across the pond? Unlikely

  77. arc

    Ah