little bugfix

This commit is contained in:
Yann Leboulanger 2005-06-26 19:59:34 +00:00
parent 5e3a405329
commit dd60161e35
1 changed files with 1 additions and 0 deletions

View File

@ -509,6 +509,7 @@ class Interface:
self.nicks[account] = nick
def handle_event_vcard(self, account, array):
win = None
if self.windows[account]['infos'].has_key(array['jid']):
win = self.windows[account]['infos'][array['jid']]
elif self.windows[account]['infos'].has_key(array['jid'] + '/' + \