summaryrefslogtreecommitdiff
path: root/src/tabs
diff options
context:
space:
mode:
authorGeorg Lukas <georg@op-co.de>2015-06-01 12:57:04 +0200
committermathieui <mathieui@mathieui.net>2015-07-21 19:43:21 +0200
commita3cefc7af34eb7ef2ad31cc153a627253b027ad0 (patch)
tree5d84098d3a0ba0dc1c6398146adec11a8faffc36 /src/tabs
parent4e8cef2a77ca558c725a2a29537d0047450a547f (diff)
downloadpoezio-a3cefc7af34eb7ef2ad31cc153a627253b027ad0.tar.gz
poezio-a3cefc7af34eb7ef2ad31cc153a627253b027ad0.tar.bz2
poezio-a3cefc7af34eb7ef2ad31cc153a627253b027ad0.tar.xz
poezio-a3cefc7af34eb7ef2ad31cc153a627253b027ad0.zip
self-ping: /cycle instead of /part
Diffstat (limited to 'src/tabs')
-rw-r--r--src/tabs/muctab.py4
1 files changed, 2 insertions, 2 deletions
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()