fix typo. Fixes #5259

This commit is contained in:
Yann Leboulanger 2009-09-08 20:07:29 +02:00
parent e4d06f4035
commit ff49ce0f0d
1 changed files with 1 additions and 1 deletions

View File

@ -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)