Software / code / prosody
Comparison
spec/scansion/muc_register.scs @ 9312:6cab07323274
MUC: Include 'nick' attribute in affiliation lists (thanks jc)
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Fri, 14 Sep 2018 12:05:47 +0100 |
| parent | 9299:2466b533f63d |
| child | 9315:a47bba3b35f3 |
comparison
equal
deleted
inserted
replaced
| 9311:9b0604fe01f1 | 9312:6cab07323274 |
|---|---|
| 363 <query xmlns='http://jabber.org/protocol/disco#info' node='x-roomuser-item'> | 363 <query xmlns='http://jabber.org/protocol/disco#info' node='x-roomuser-item'> |
| 364 <identity category='conference' name='Romeo' type='text'/> | 364 <identity category='conference' name='Romeo' type='text'/> |
| 365 </query> | 365 </query> |
| 366 </iq> | 366 </iq> |
| 367 | 367 |
| 368 # To check the status of the room is as expected, Romeo requests the member list | |
| 369 | |
| 370 Romeo sends: | |
| 371 <iq id='member3' to='room@conference.localhost' type='get'> | |
| 372 <query xmlns='http://jabber.org/protocol/muc#admin'> | |
| 373 <item affiliation='member'/> | |
| 374 </query> | |
| 375 </iq> | |
| 376 | |
| 377 Romeo receives: | |
| 378 <iq from='room@conference.localhost' type='result' id='member3'> | |
| 379 <query xmlns='http://jabber.org/protocol/muc#admin'> | |
| 380 <item jid="${Juliet's JID}" affiliation='member' nick='Juliet'/> | |
| 381 </query> | |
| 382 </iq> | |
| 383 |