From ff49ce0f0d5be8b2f34224f191a3f589d7c7e3f5 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 8 Sep 2009 20:07:29 +0200 Subject: [PATCH] fix typo. Fixes #5259 --- src/groupchat_control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/groupchat_control.py b/src/groupchat_control.py index 97cac99b0..754c20df9 100644 --- a/src/groupchat_control.py +++ b/src/groupchat_control.py @@ -1031,7 +1031,7 @@ class GroupchatControl(ChatControlBase): # Autorejoin stuff goes here. # Notice that we don't need to activate autorejoin if connection is lost # or in progress. - if self.autorejoin is None and gajim.cccount_is_connectedself.account): + if self.autorejoin is None and gajim.account_is_connected(self.account): ar_to = gajim.config.get('muc_autorejoin_timeout') if ar_to: self.autorejoin = gobject.timeout_add_seconds(ar_to, self.rejoin)