From eefa1432ffc2cb40ff8946c05613d8df26bf33c3 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger <asterix@lagaule.org> Date: Wed, 29 Aug 2012 12:21:53 +0200 Subject: [PATCH] update caps hash when we activate an account. Fixes #7224 --- src/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/config.py b/src/config.py index b024110260..16fd27b048 100644 --- a/src/config.py +++ b/src/config.py @@ -2546,6 +2546,7 @@ class AccountsWindow: gajim.transport_avatar[account] = {} gajim.gajim_optional_features[account] = [] gajim.caps_hash[account] = '' + helpers.update_optional_features(account) # refresh roster if len(gajim.connections) >= 2: # Do not merge accounts if only one exists @@ -4009,6 +4010,7 @@ class AccountCreationWizardWindow: gajim.transport_avatar[self.account] = {} gajim.gajim_optional_features[self.account] = [] gajim.caps_hash[self.account] = '' + helpers.update_optional_features(self.account) # refresh accounts window if 'accounts' in gajim.interface.instances: gajim.interface.instances['accounts'].init_accounts() -- GitLab