# MUC: Room registration and reserved nicknames
[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
Romeo receives:
Romeo sends:
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:
# 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
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: