fix a traceback

This commit is contained in:
Nikos Kouremenos 2005-07-25 22:24:58 +00:00
parent 6eb31e283c
commit 22cf4b7433
1 changed files with 2 additions and 2 deletions

View File

@ -91,8 +91,8 @@ def get_first_contact_instance_from_jid(account, jid):
else: # it's fake jid
#FIXME: problem see comment in next line
nick = get_nick_from_fjid(jid) # if we ban/kick we now real jid
if nick in gc_contacts[room_jid]:
contact = gc_contacts[room_jid][nick] # always only one instance
if nick in gc_contacts[jid]:
contact = gc_contacts[jid][nick] # always only one instance
return contact
def get_contact_name_from_jid(account, jid):