From 2b30c63163b92a429264ea7ab0f7668058949cb9 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 21 Mar 2005 21:52:54 +0000 Subject: [PATCH] upgrade the account variable in opened chat / groupchat / information windows --- plugins/gtkgui/config.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/gtkgui/config.py b/plugins/gtkgui/config.py index 5a92fa606..2448688ae 100644 --- a/plugins/gtkgui/config.py +++ b/plugins/gtkgui/config.py @@ -1119,6 +1119,9 @@ class Account_modification_window: self.plugin.roster.contacts[self.account] self.plugin.sleeper_state[name] = \ self.plugin.sleeper_state[self.account] + for kind in ['infos', 'chats', 'gc']: + for jid in self.plugin.windows[name][kind]: + self.plugin.windows[name][kind][jid].account = name del self.plugin.windows[self.account] del self.plugin.queues[self.account] del self.plugin.connected[self.account]