From 2f35fade717563ac57bb30641e532fb048d16dfe Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 10 May 2005 17:45:10 +0000 Subject: [PATCH] bugfix when keepalive package doen't come back --- src/common/xmpp/dispatcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/xmpp/dispatcher.py b/src/common/xmpp/dispatcher.py index 017e43ad6..96e6c7d08 100644 --- a/src/common/xmpp/dispatcher.py +++ b/src/common/xmpp/dispatcher.py @@ -118,7 +118,7 @@ class Dispatcher(PlugIn): self.send(iq) self._natSent = True if time.time() > self._lastIncome + 90: #1 min + 30 sec pr rep - self.disconnected() + self._owner.disconnected() for handler in self._cycleHandlers: handler(self) if self._owner.Connection.pending_data(timeout): try: data=self._owner.Connection.receive()