diff --git a/src/config.py b/src/config.py index 90be9472b..e65e25870 100644 --- a/src/config.py +++ b/src/config.py @@ -1173,7 +1173,7 @@ _('To change the account name, it must be disconnected.')).get_response() self.plugin.windows[name][kind][j].account = name #upgrade account in systray - if hasattr(self.plugin, 'systray'): + if self.plugin.systray_enabled: for list in self.plugin.systray.jids: if list[0] == self.account: list[0] = name