# MUC: Room registration and presence broadcast of unavailable members
[Client] Romeo
jid: user@localhost
password: password
[Client] Juliet
jid: user2@localhost
password: password
[Client] Rosaline
jid: user3@localhost
password: password
-----
Romeo connects
Romeo sends:
Romeo receives:
Romeo receives:
# Submit config form
Romeo sends:
http://jabber.org/protocol/muc#roomconfig
none
participant
moderator
Romeo receives:
Romeo sends:
Romeo receives:
Romeo receives:
# Juliet connects, and joins the room
Juliet connects
Juliet sends:
Juliet receives:
Juliet receives:
Juliet receives:
Romeo receives:
# Juliet retrieves the registration form
Juliet sends:
Juliet receives:
http://jabber.org/protocol/muc#register
Juliet sends:
http://jabber.org/protocol/muc#register
Juliet
Juliet receives:
Juliet receives:
# Juliet discovers her reserved nick
Juliet sends:
Juliet receives:
# Juliet leaves the room:
Juliet sends:
Juliet receives:
Romeo receives:
# Rosaline connect and tries to join the room as Juliet
Rosaline connects
Rosaline sends:
Rosaline receives:
# In a heated moment, Juliet unregisters from the room
Juliet sends:
Juliet receives:
# Romeo is notified of Juliet's sad decision
Romeo receives:
# Rosaline attempts once more to sneak into the room, disguised as Juliet
Rosaline sends:
Rosaline receives:
Rosaline receives:
Romeo receives:
# On discovering the ruse, Romeo restores Juliet's nick and status within the room
Romeo sends:
# Rosaline is evicted from the room
Romeo receives:
-
This nickname is reserved
# An out-of-room affiliation change is received for Juliet
Romeo receives:
Romeo receives:
Rosaline receives:
-
This nickname is reserved
# Rosaline, frustrated, attempts to get back into the room...
Rosaline sends:
# ...but once again, is denied
Rosaline receives:
# Juliet, however, quietly joins the room with success
Juliet sends:
Juliet receives:
Juliet receives:
Juliet receives:
Romeo receives:
# Romeo checks whether he has reserved his own nick yet
Romeo sends:
# But no nick is returned, as he hasn't registered yet!
Romeo receives:
# Romeo updates his own registration
Romeo sends:
Romeo receives:
http://jabber.org/protocol/muc#register
Romeo sends:
http://jabber.org/protocol/muc#register
Romeo
Romeo receives:
Romeo receives:
Juliet receives:
# Romeo discovers his reserved nick
Romeo sends:
Romeo receives:
# To check the status of the room is as expected, Romeo requests the member list
Romeo sends:
Romeo receives:
Juliet sends:
Juliet receives:
Romeo receives:
# Rosaline joins as herself
Rosaline sends:
Rosaline receives:
Rosaline receives:
Rosaline receives:
Rosaline receives:
Romeo receives:
# Rosaline tries to register her own nickname, but unaffiliated
# registration is disabled by default
Rosaline sends:
Rosaline receives:
Rosaline sends:
http://jabber.org/protocol/muc#register
Romeo
Rosaline receives:
# Romeo reserves her nickname for her
Romeo sends:
Romeo receives:
-
Romeo receives:
Rosaline receives:
-
# Romeo sets their their own nickname via admin query (see #1273)
Romeo sends:
Romeo receives:
-
Romeo receives: