use present() for groupchat vcard window

This commit is contained in:
Nikos Kouremenos 2005-05-12 16:59:51 +00:00
parent 4ad7c30f47
commit ee5b444470
1 changed files with 3 additions and 1 deletions

View File

@ -411,7 +411,9 @@ class Groupchat_window(chat.Chat):
def on_info(self, widget, jid):
"""Call vcard_information_window class to display user's information"""
if not self.plugin.windows[self.account]['infos'].has_key(jid):
if self.plugin.windows[self.account]['infos'].has_key(jid):
self.plugin.windows[self.account]['infos'][jid].present()
else:
self.plugin.windows[self.account]['infos'][jid] = \
dialogs.Vcard_window(jid, self.plugin,
self.account, True)