# MUC: Members-only rooms kick members who lose affiliation
[Client] Romeo
jid: user@localhost
password: password
[Client] Juliet
jid: user2@localhost
password: password
-----
Romeo connects
Romeo sends:
Romeo receives:
Romeo receives:
# Submit config form, set the room to members-only
Romeo sends:
http://jabber.org/protocol/muc#roomconfig
1
Romeo receives:
# Romeo adds Juliet to the member list
Romeo sends:
Romeo receives:
Romeo receives:
# Juliet connects, and joins the room
Juliet connects
Juliet sends:
Juliet receives:
Juliet receives:
Juliet receives:
Romeo receives:
# Romeo removes Juliet's membership status
Romeo sends:
# As a non-member, Juliet must now be removed from the room
Romeo receives:
-
Romeo receives:
Romeo disconnects
Juliet disconnects