XSF Discussion - 2018-09-04


  1. edhelas

    Link Mauve do we have something like "public bookmarks" in XMPP ?

  2. pep.

    Like a shared PEP node? I don't think there's any client support for that, nor spec, but you can already change the acces-model/publish-options of your storage:bookmarks node :x

  3. edhelas

    XEP-xxxx: MUC Avatars, how much XEP do we need to handle avatars on XMPP ?

  4. edhelas

    do I need to also create one to handle avatars on Pubsub nodes ?

  5. edhelas

    this is again another flow to handle/update/notify avatars

  6. MattJ

    edhelas, how close is what you do for pubsub nodes to what that XEP does for MUC?

  7. edhelas

    I don't do avatars on Pubsub nodes for now because I didn't found a way to do it yet

  8. edhelas

    (also vcards)

  9. edhelas

    maybe we can simply generalize that XEP, say that publication/retrieval is always done the same way (for JID, MUC JID and Pubsub Nodes) and the notification can be done through presences (for the JID), messages/presences for the MUC JID, and Pubsub healines for the Pubsub nodes

  10. edhelas

    then we have an unique and generic way to handle vcard and avatars publication/retrieval accross the XMPP network

  11. MattJ

    Good luck

  12. MattJ

    Pubsub nodes don't have PEP, is one problem

  13. edhelas

    yes

  14. edhelas

    and it's kind of hacked by putting those "pubsub pep nodes" next to eachother : MIX

  15. Yagiza

    Hello!

  16. Yagiza

    Do we have a way to retrieve history from a transport?

  17. MattJ

    Yes, XEP-0313 if the transport supports it

  18. Yagiza

    MattJ, so, once my client discover that transport supports MAM, I can request an archive for any of my chats via that transport?

  19. flow

    Yagiza, that is how I would expect it to work

  20. MattJ

    Normal chats will typically be archived by your server already

  21. MattJ

    But group chats, yes, you will need to ask the transport

  22. Yagiza

    MattJ, normal chats could not be archived before I logged on the transport.

  23. MattJ

    True

  24. Yagiza

    MattJ, so, what about requesting that parts of chat?

  25. MattJ

    It depends completely on the transport

  26. Link Mauve

    “10:35:47 edhelas> XEP-xxxx: MUC Avatars, how much XEP do we need to handle avatars on XMPP ?”, this one is almost informational (I hesitated), it describes how to do 0153 on 0045.

  27. Link Mauve

    “10:36:07 edhelas> do I need to also create one to handle avatars on Pubsub nodes ?”, isn’t that 0084?

  28. Link Mauve

    Ah, avatars for PubSub nodes*.

  29. Yagiza

    MattJ, I mean the correct way to retrieve history. How client should act?

  30. MattJ

    I'm not aware of any transport providing this functionality, so I can't say

  31. Yagiza

    MattJ, but if I develop a transport, I need to know if this functionality is valid for a transport, or not.

  32. Yagiza

    MattJ, I guess it must be specified implicitly.

  33. MattJ

    XEP-0313 defines a protocol for exchanging history between two XMPP entities

  34. MattJ

    Usually this is a user and their own server, or a user and a MUC room

  35. MattJ

    but a user and a transport is just fine too

  36. MattJ

    However clients won't currently do this, so you may want to add a XEP for that

  37. MattJ

    So the protocol is the easiest problem, that's 99% solved with XEP-0313

  38. MattJ

    But implementations do not query transports, because transports today don't offer this ability (except for groupchats)

  39. MattJ

    So implementations would need to add support for this, even if they already support XEP-0313 in other ways

  40. MattJ

    so you need to get friendly with client developers :)

  41. jonasw

    the proper fix would be if the transport sent messages to the account even if no client is online

  42. MattJ

    I understood the problem to be access to messages before registering with the transport

  43. Yagiza

    MattJ, the problem is what to do if both transport and user's server do support XEP-0313.

  44. Link Mauve

    Yagiza, the client can either request both, or assume one is the only source of truth.

  45. Link Mauve

    Deduplication might be harder in the first case though, because stanza-ids will be different.

  46. Yagiza

    Link Mauve, yes. So all those issues must be clarified in the XEP.

  47. Link Mauve

    The XEP only defines the protocol to retrieve history from another entity.

  48. Link Mauve

    You can write another one (informational) about what to do with transports.

  49. Yagiza

    Link Mauve, yes. But at least, mention of transports in Archiving Entities( https://xmpp.org/extensions/xep-0313.html#archiving_entities ) should be added.

  50. Link Mauve

    Yagiza, sure.