From 97420e6a7a23657c11a16e12ce89a4cd34edbae2 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 13 Sep 2006 07:46:35 +0000 Subject: [PATCH] prevent TB when / in gc nicknames --- 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 8e8206917..e6d095641 100644 --- a/src/common/contacts.py +++ b/src/common/contacts.py @@ -210,7 +210,7 @@ class Contacts: contacts = self.get_contacts_from_jid(account, jid) if not contacts and '/' in jid: # jid may be a fake jid, try it - room, nick = jid.split('/') + room, nick = jid.split('/', 1) contact = self.get_gc_contact(account, room, nick) return contact return self.get_highest_prio_contact_from_contacts(contacts)