improve comment
This commit is contained in:
parent
cd8a5dca72
commit
7ad5bf4580
|
@ -205,7 +205,7 @@ class Contacts:
|
|||
def get_contact_with_highest_priority(self, account, jid):
|
||||
contacts = self.get_contacts_from_jid(account, jid)
|
||||
if not contacts and '/' in jid:
|
||||
# jid may be a nick jid, try it
|
||||
# jid may be a fake jid, try it
|
||||
room, nick = jid.split('/')
|
||||
contact = self.get_gc_contact(account, room, nick)
|
||||
return contact or []
|
||||
|
|
Loading…
Reference in New Issue