# XEP-0191: Blocking Command
[Client] Romeo
jid: blocker@localhost
password: password
[Client] Juliet
jid: blockee@localhost
password: password
-----
# The parties connect
Romeo connects
Romeo sends:
Romeo receives:
Juliet connects
Juliet sends:
Juliet receives:
# They add each other
Romeo sends:
Romeo receives:
Juliet receives:
Juliet sends:
Romeo receives:
Juliet sends:
Juliet receives:
Romeo receives:
Romeo sends:
Juliet receives:
Romeo receives:
# They can now talk
Juliet sends:
ohai
Romeo receives:
ohai
# And now to the blockining
Romeo sends:
Romeo receives:
Juliet receives:
# Can"t talk anymore
Romeo sends:
hello?
Romeo receives:
You have blocked this JID
Juliet sends:
Juliet receives:
Romeo sends:
Juliet receives:
Romeo receives:
# Can talk again
Romeo sends:
hello!
Juliet receives:
hello!
# Bye
Juliet disconnects
Juliet sends:
Romeo receives:
Romeo disconnects
Romeo sends: