add a FIXME
This commit is contained in:
parent
de60232020
commit
9fb9894092
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue