From 2f225c2b220e1688e4479917ed05e15317a035f2 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 5 May 2008 09:18:46 +0000 Subject: [PATCH] enable keepalives as soon as account is created. Fixes #3769 --- src/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/config.py b/src/config.py index 8fc25c789..df9c63826 100644 --- a/src/config.py +++ b/src/config.py @@ -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] = {}