diff --git a/src/common/contacts.py b/src/common/contacts.py index ae2f367c993469947419241b6867bc5795783791..9aa7bc167dc399f1ac928b5b84b4aaa7d8885e38 100644 --- a/src/common/contacts.py +++ b/src/common/contacts.py @@ -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 []