enable keepalives as soon as account is created. Fixes #3769

This commit is contained in:
Yann Leboulanger 2008-05-05 09:18:46 +00:00
parent da3e8a7328
commit 2f225c2b22
1 changed files with 2 additions and 0 deletions

View File

@ -3451,6 +3451,8 @@ class AccountCreationWizardWindow:
'gc_config': {}, 'search': {}}
gajim.interface.minimized_controls[self.account] = {}
gajim.connections[self.account].connected = 0
gajim.connections[self.account].keepalives = gajim.config.get_per(
'accounts', self.account, 'keep_alive_every_foo_secs')
gajim.groups[self.account] = {}
gajim.contacts.add_account(self.account)
gajim.gc_connected[self.account] = {}