little bugfix

This commit is contained in:
Yann Leboulanger 2005-03-04 22:39:41 +00:00
parent 32f879a821
commit 2df99a76a9
1 changed files with 1 additions and 1 deletions

View File

@ -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(