From 2df99a76a9f3bac14abfa32c3e72ea6c2c474026 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Fri, 4 Mar 2005 22:39:41 +0000 Subject: [PATCH] little bugfix --- plugins/gtkgui/gtkgui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py index a9fb5792e..46ebf117e 100644 --- a/plugins/gtkgui/gtkgui.py +++ b/plugins/gtkgui/gtkgui.py @@ -2420,7 +2420,7 @@ class systray: jid = self.jids[0][1] if self.plugin.windows[account]['gc'].has_key(jid): self.plugin.windows[account]['gc'][jid].window.present() - if self.plugin.windows[account]['chats'].has_key(jid): + elif self.plugin.windows[account]['chats'].has_key(jid): self.plugin.windows[account]['chats'][jid].window.present() else: self.plugin.roster.new_chat(