From 7ad5bf4580fdfdbbd86974fe594451fa6cbc00de Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos <kourem@gmail.com> Date: Tue, 4 Apr 2006 11:44:17 +0000 Subject: [PATCH] improve comment --- src/common/contacts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/contacts.py b/src/common/contacts.py index ae2f367c99..9aa7bc167d 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 [] -- GitLab