summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Lukas <georg@op-co.de>2017-03-28 10:47:04 +0200
committerlouiz’ <louiz@louiz.org>2017-03-28 10:50:46 +0200
commitc8ee85cca7d5fbb5ba40d6eff60031e1e8deaa2c (patch)
tree0e5191526b1396c8df7ddf7347411266e3583942
parente9a96470ba5c61e9278bd6c968651b4b1ce05190 (diff)
downloadpoezio-c8ee85cca7d5fbb5ba40d6eff60031e1e8deaa2c.tar.gz
poezio-c8ee85cca7d5fbb5ba40d6eff60031e1e8deaa2c.tar.bz2
poezio-c8ee85cca7d5fbb5ba40d6eff60031e1e8deaa2c.tar.xz
poezio-c8ee85cca7d5fbb5ba40d6eff60031e1e8deaa2c.zip
self-ping: consider 'feature-not-implemented' a valid ping response
-rw-r--r--poezio/tabs/muctab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py
index 54b7cabf..bb4d21bb 100644
--- a/poezio/tabs/muctab.py
+++ b/poezio/tabs/muctab.py
@@ -1697,7 +1697,7 @@ class MucTab(ChatTab):
timeout=60)
def on_self_ping_result(self, iq):
- if iq["type"] == "error":
+ if iq["type"] == "error" and iq["error"]["condition"] != "feature-not-implemented":
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