show in GUI that we are offline when we don't get XMPP ping in time

This commit is contained in:
Yann Leboulanger 2008-02-08 21:48:20 +00:00
parent 419652d61f
commit 436c75a244
1 changed files with 1 additions and 1 deletions

View File

@ -1618,7 +1618,7 @@ class Connection(ConnectionHandlers):
def check_keepalive(self): def check_keepalive(self):
if self.awaiting_xmpp_ping_id: if self.awaiting_xmpp_ping_id:
# We haven't got the pong in time, disco and reconnect # We haven't got the pong in time, disco and reconnect
self.disconnect() self._disconnectedReconnCB()
def _reconnect_alarm(self): def _reconnect_alarm(self):
if self.time_to_reconnect: if self.time_to_reconnect: