add a FIXME

This commit is contained in:
Nikos Kouremenos 2005-07-22 18:10:55 +00:00
parent de60232020
commit 9fb9894092
1 changed files with 2 additions and 1 deletions

View File

@ -86,7 +86,8 @@ def get_first_contact_instance_from_jid(account, jid):
if jid in contacts[account]: if jid in contacts[account]:
contact = contacts[account][jid][0] contact = contacts[account][jid][0]
else: # it's fake jid else: # it's fake jid
nick = get_nick_from_fjid(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]: if nick in gc_contacts[room_jid]:
contact = gc_contacts[room_jid][nick] # always only one instance contact = gc_contacts[room_jid][nick] # always only one instance
return contact return contact