From 7fbb4279ac5e43d44e003bc980715e26e7828ce4 Mon Sep 17 00:00:00 2001 From: junglecow Date: Sun, 10 Dec 2006 20:22:02 +0000 Subject: [PATCH] - Reset retrycount if we auth successfully, so we can start retrying at 10 seconds instead of 15 minutes. This is an old bug, but wasn't noticable with 10 vs 20 seconds. --- src/common/connection.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/connection.py b/src/common/connection.py index f66c896bc..42d405c9f 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -453,6 +453,7 @@ class Connection(ConnectionHandlers): if auth: self.last_io = gajim.idlequeue.current_time() self.connected = 2 + self.retrycount = 0 if self.on_connect_auth: self.on_connect_auth(con) self.on_connect_auth = None