From a3cefc7af34eb7ef2ad31cc153a627253b027ad0 Mon Sep 17 00:00:00 2001 From: Georg Lukas Date: Mon, 1 Jun 2015 12:57:04 +0200 Subject: self-ping: /cycle instead of /part --- src/tabs/muctab.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tabs') diff --git a/src/tabs/muctab.py b/src/tabs/muctab.py index bb731d20..adc85a5b 100644 --- a/src/tabs/muctab.py +++ b/src/tabs/muctab.py @@ -1694,7 +1694,7 @@ class MucTab(ChatTab): def on_self_ping_result(self, iq): if iq["type"] == "error": - self.command_part(iq["error"]["text"] or "not in this room") + 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 self.enable_self_ping_event() @@ -1715,5 +1715,5 @@ class MucTab(ChatTab): return color def on_self_ping_failed(self, iq): - self.command_part("the MUC server is not responding") + self.command_cycle("the MUC server is not responding") self.core.refresh_window() -- cgit v1.2.3