Skip to content
Snippets Groups Projects
Commit 7ad5bf45 authored by nkour's avatar nkour
Browse files

improve comment

parent cd8a5dca
No related branches found
No related tags found
No related merge requests found
...@@ -205,7 +205,7 @@ class Contacts: ...@@ -205,7 +205,7 @@ class Contacts:
def get_contact_with_highest_priority(self, account, jid): def get_contact_with_highest_priority(self, account, jid):
contacts = self.get_contacts_from_jid(account, jid) contacts = self.get_contacts_from_jid(account, jid)
if not contacts and '/' in 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('/') room, nick = jid.split('/')
contact = self.get_gc_contact(account, room, nick) contact = self.get_gc_contact(account, room, nick)
return contact or [] return contact or []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment