jdev - 2023-12-08


  1. nicoco

    If I want the full list of members+admins+owners of a members-only MUC, do I have to make 3 requests or is there a single request shortcut that I haven't managed to find?

  2. MattJ

    Unfortunately that is currently the case right now, but it's something I consider high priority to fix

  3. MattJ

    There is a XEP that defines a combined query already, we just need to get it implemented

  4. MattJ

    https://xmpp.org/extensions/xep-0463.html

  5. MattJ

    (it does a bit more besides)

  6. nicoco

    Thanks! That looks like a worthy optimisation, since the de facto convention in most messengers is to default to "Alice, Bob & Jean-Marc" for naming private groupchats when no name is explicitly given by the creator. Conversations and Dino do that already in their UIs, at least.

  7. MattJ

    Yep

  8. singpolyma

    I mean, is it even an optimization to do 1 vs 3?

  9. singpolyma

    if you send all three iq at once and get all 3 reply at once it's just the overhead of parsing the stanza wrapper, which seems super small/

  10. singpolyma

    if you send all three iq at once and get all 3 reply at once it's just the overhead of parsing the stanza wrapper, which seems super small?

  11. Zash

    Promise.all(iq, iq, iq) something something

  12. singpolyma

    yup

  13. jonas’

    singpolyma, also consistency

  14. jonas’

    avoids missing an entry altogether if affiliations change in *just* the wrong moment

  15. jonas’

    (or having a duplicate entry)

  16. Zash

    Don't you get presence notifications anyway?

  17. pep.

    I think that was explained in the introduction