summaryrefslogtreecommitdiff
path: root/src/tabs/muctab.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2015-05-26 20:49:46 +0200
committerFlorent Le Coz <louiz@louiz.org>2015-05-26 20:49:46 +0200
commit39ed7e35cc1f2a6838742ad47c7f83a87d8f92af (patch)
tree1a375259ee34207b2045b00ad0a03b927376d8e3 /src/tabs/muctab.py
parent0c8fe4da306724aa3757989836ce94fea4d8206f (diff)
downloadpoezio-39ed7e35cc1f2a6838742ad47c7f83a87d8f92af.tar.gz
poezio-39ed7e35cc1f2a6838742ad47c7f83a87d8f92af.tar.bz2
poezio-39ed7e35cc1f2a6838742ad47c7f83a87d8f92af.tar.xz
poezio-39ed7e35cc1f2a6838742ad47c7f83a87d8f92af.zip
Disable the MUC self ping by default
Because it doesn’t work, due to a lot of factors, and we can’t fix them.
Diffstat (limited to 'src/tabs/muctab.py')
-rw-r--r--src/tabs/muctab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabs/muctab.py b/src/tabs/muctab.py
index d4b13258..bb0f51d9 100644
--- a/src/tabs/muctab.py
+++ b/src/tabs/muctab.py
@@ -1667,7 +1667,7 @@ class MucTab(ChatTab):
return [(1, safeJID(self.name).user), (3, self.name)]
def enable_self_ping_event(self):
- delay = config.get_by_tabname("self_ping_delay", self.general_jid, default=60)
+ delay = config.get_by_tabname("self_ping_delay", self.general_jid, default=0)
if delay <= 0: # use 0 or some negative value to disable it
return
self.self_ping_event = timed_events.DelayedEvent(delay, self.send_self_ping)