From 8cbd8dabdd23bb268b4431d6d9443abfb88e79d9 Mon Sep 17 00:00:00 2001 From: Georg Lukas Date: Mon, 25 Feb 2019 10:03:59 +0100 Subject: self-ping: match error responses to XEP-0410 --- poezio/tabs/muctab.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py index 80631388..41a8e089 100644 --- a/poezio/tabs/muctab.py +++ b/poezio/tabs/muctab.py @@ -1151,7 +1151,8 @@ class MucTab(ChatTab): timeout=timeout) 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") self.core.refresh_window() else: # Re-send a self-ping in a few seconds -- cgit v1.2.3