Commit 8cbd8dab authored by ge0rg's avatar ge0rg Committed by Maxime Buquet
Browse files

self-ping: match error responses to XEP-0410

parent f7e3e003
......@@ -1151,7 +1151,8 @@ class MucTab(ChatTab):
def on_self_ping_result(self, iq):
if iq["type"] == "error" and iq["error"]["condition"] != "feature-not-implemented":
if iq["type"] == "error" and iq["error"]["condition"] not in \
("feature-not-implemented", "service-unavailable", "item-not-found"):
self.command_cycle(iq["error"]["text"] or "not in this room")
else: # Re-send a self-ping in a few seconds
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment