From 436c75a244c71318fc87b99e523dc8c8f820d66a Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 8 Feb 2008 21:48:20 +0000 Subject: [PATCH] show in GUI that we are offline when we don't get XMPP ping in time --- src/common/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/connection.py b/src/common/connection.py index 0d0a3da73..fc86951e2 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -1618,7 +1618,7 @@ class Connection(ConnectionHandlers): def check_keepalive(self): if self.awaiting_xmpp_ping_id: # We haven't got the pong in time, disco and reconnect - self.disconnect() + self._disconnectedReconnCB() def _reconnect_alarm(self): if self.time_to_reconnect: