XSF Discussion - 2024-08-07


  1. kurisu

    https://xmpp.org/extensions/xep-0045.html#enter-muc So how do I confirm the room let me in, what do I look for? ``` <presence from='coven@chat.shakespeare.lit/thirdwitch' id='026B3509-2CCE-4D69-96D6-25F41FFDC408' to='hag66@shakespeare.lit/pda'> <x xmlns='http://jabber.org/protocol/muc#user'> <item affiliation='member' role='participant'/> <status code='110'/> </x> </presence>``` Do I look for a presence where @from="$mucJid/$mynickname"? But then I also see >The service MAY rewrite the new occupant's roomnick (e.g., if roomnicks are locked down or based on some other policy). so uhm?...

  2. singpolyma

    kurisu: Status code 110

  3. singpolyma

    That means you're in

  4. kurisu

    And in which presence to look for it? The one where @from="$mucJid/$mynickname"?

  5. singpolyma

    Any presence that says 110 is how you know it's a presence for yourself. No matter what the from says