-
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?...
-
singpolyma
kurisu: Status code 110
-
singpolyma
That means you're in
-
kurisu
And in which presence to look for it? The one where @from="$mucJid/$mynickname"?
-
singpolyma
Any presence that says 110 is how you know it's a presence for yourself. No matter what the from says