self-ping: increase timeout to 60s

This commit is contained in:
Georg Lukas 2015-06-01 13:00:39 +02:00 committed by mathieui
parent a3cefc7af3
commit 304801ebe0
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -1690,7 +1690,7 @@ class MucTab(ChatTab):
self.core.xmpp.plugin['xep_0199'].send_ping(jid=to, self.core.xmpp.plugin['xep_0199'].send_ping(jid=to,
callback=self.on_self_ping_result, callback=self.on_self_ping_result,
timeout_callback=self.on_self_ping_failed, timeout_callback=self.on_self_ping_failed,
timeout=10) timeout=60)
def on_self_ping_result(self, iq): def on_self_ping_result(self, iq):
if iq["type"] == "error": if iq["type"] == "error":