From c3437d2d1477fff49b0b6d58071cc1ee60f24dc3 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 14 May 2005 11:01:09 +0000 Subject: [PATCH] upgrade the self.account var when we change the name of the account (fix #279) --- src/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.py b/src/config.py index 53856a869..3c5fe69ff 100644 --- a/src/config.py +++ b/src/config.py @@ -1150,6 +1150,7 @@ class Account_modification_window: del gajim.connections[self.account] gajim.config.del_per('accounts', self.account) gajim.config.add_per('accounts', name) + self.account = name for opt in config: gajim.config.set_per('accounts', name, opt, config[opt])