XSF Discussion - 2022-10-02


  1. lovetox

    What about this https://xmpp.org/extensions/xep-0421.html

  2. lovetox

    Does anyone implement this, can we advance this?

  3. MattJ

    lovetox: yes, Prosody does

  4. flow

    MattJ, one minor nit: please consider using 'true' instead of '1' in examples for boolean attribute values. It makes the examples more readable

  5. MattJ

    I'd wager that leads to developers only supporting 'true' in implementations 🙂

  6. pep.

    Something something examples aren't normative, same as schemas :x

  7. flow

    MattJ, the same could be said with '1'

  8. MattJ

    Sure, but not of mixing it up between examples

  9. pep.

    https://xmpp.org/extensions/xep-0463.html#errors I was re-reading this spec and I'm thinking this should indicate that the error is about affiliations

  10. pep.

    or it @type='auth' enough? :/

  11. pep.

    hmm, or maybe not. It's not like it can happen at any time, can it? It'll happen before presence broadcast at join and.. that's it?

  12. pep.

    (And there it should be pretty obvious that it's about affiliations?)

  13. pep.

    https://xmpp.org/extensions/xep-0463.html#self « There can be no empty diff but there can be empty full reponses (no affiliations). » What did I mean here again..

  14. Kev

    > I'd wager that leads to developers only supporting 'true' in implementations 🙂 Bit of JavaScript that parses the examples and renders booleans differently each time? :)

  15. pep.

    file:///home/ppjet/Src/xeps/build/xep-0463.html#errors should an error here prevent the join even?

  16. pep.

    oops, link

  17. pep.

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

  18. pep.

    Wasn't there something about errors from the MUC also kicking users out?

  19. pep. greps 0045

  20. pep.

    Anybody implementing this spec btw? Or planning to?

  21. singpolyma

    From 0045: > If an occupant wants to send an IQ stanza to another user in a semi-anonymous room, the sender can direct the stanza to the recipient's occupant JID and the service SHOULD forward the stanza to the recipient's real JID. What resource should the IQ be sent to? Or is it sent to the base JID that is joined?

  22. singpolyma

    From 0045: > If an occupant wants to send an IQ stanza to another user in a semi-anonymous room, the sender can direct the stanza to the recipient's occupant JID and the service SHOULD forward the stanza to the recipient's real JID. What resource should the IQ be sent to? Or is it sent to the bare JID that is joined?

  23. flow

    singpolyma, that part of xep45 was written before multi session nicks where a thing. I could imagine that modernxmpp has something about this. the IQ should never be send to the bare JDI

  24. flow

    singpolyma, that part of xep45 was written before multi session nicks where a thing. I could imagine that modernxmpp has something about this. the IQ should never be send to the bare JID

  25. singpolyma

    flow: well, since probably the most common iq would be for avatar fetch then to bare JID is what I would guess is being done in practise. But I'm not sure

  26. pep.

    From jdev@ two days ago: MattJ> pep.: I think Prosody stores all [presences of a participant], one is randomly selected as the session leader, and a new leader is selected if it leaves

  27. pep.

    That is, the iq is directed to the session leader

  28. pep.

    We were talking about presences but I guess this "leader" is also used for iq

  29. lovetox

    avatar was the main use case for this, a much better solution is to send the iq to translate the avatar request into a pubsub request to the bare jid

  30. lovetox

    no client can depend on getting the correct info if its info that is different per resource

  31. lovetox

    you cant address a specific resource of the user

  32. lovetox

    and if you get something back it would be very random and could change any minute

  33. singpolyma

    pep.: Ok, so at least in prosody the iq is sent to one of the resources, you don't know which one

  34. singpolyma

    The reason I am asking is because I am implementing bits of binary and was thinking through what would even happen in a MUC use

  35. singpolyma

    So I guess with only one resource joined it would work, but otherwise might just randomly fail

  36. pep.

    While in 0045: « A MUC service MUST include the MUC extensions even if the client did not send an empty <x/> element qualified by the 'http://jabber.org/protocol/muc' namespace on entering the room; naturally, a client MUST ignore such information if it does not understand it (in accordance with RFC 6120). », remnants of GC1? https://xmpp.org/extensions/xep-0045.html#bizrules-presence

  37. pep.

    While in 0045: « A MUC service MUST include the MUC extensions even if the client did not send an empty <x/> element qualified by the 'http://jabber.org/protocol/muc' namespace on entering the room; naturally, a client MUST ignore such information if it does not understand it (in accordance with RFC 6120). », remnants of GC1? https://xmpp.org/extensions/xep-0045.html#bizrules-presence

  38. singpolyma

    Yes

  39. pep.

    Is there such a thing is no affiliations? Can there be no owner at all? Removing the initial creator?

  40. pep.

    « A service MUST NOT allow an owner to revoke his or her own owner status if there are no other owners; if an owner attempts to do this, the service MUST return a <conflict/> error to the owner. However, a service SHOULD allow an owner to revoke his or her own owner status if there are other owners. »

  41. pep.

    So there will always be at least one owner

  42. Maranda

    Yes otherwise that'd leave an orphaned room

  43. thilo.molitor

    Are the rfcxxxx entities usable in xeps autogenerated or do I have to add new RFCs manually?

  44. flow

    see xep.ent

  45. flow

    thilo.molitor ↑

  46. flow

    it's a file in the top level directory of the xeps repo

  47. thilo.molitor

    flow: yes, but are they autogenerated or do I have to submit a pull request to add several RFCs?

  48. flow

    thilo.molitor, I would expect that you add them in the same PR where the XEP is added that uses them

  49. thilo.molitor

    Okay, thanks

  50. flow

    thilo.molitor, so no, xep.ent is not autogenerated