fix a traceback
This commit is contained in:
parent
6eb31e283c
commit
22cf4b7433
|
@ -91,8 +91,8 @@ def get_first_contact_instance_from_jid(account, jid):
|
||||||
else: # it's fake jid
|
else: # it's fake jid
|
||||||
#FIXME: problem see comment in next line
|
#FIXME: problem see comment in next line
|
||||||
nick = get_nick_from_fjid(jid) # if we ban/kick we now real jid
|
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[jid]:
|
||||||
contact = gc_contacts[room_jid][nick] # always only one instance
|
contact = gc_contacts[jid][nick] # always only one instance
|
||||||
return contact
|
return contact
|
||||||
|
|
||||||
def get_contact_name_from_jid(account, jid):
|
def get_contact_name_from_jid(account, jid):
|
||||||
|
|
Loading…
Reference in New Issue