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