prevent TB when / in gc nicknames

This commit is contained in:
Yann Leboulanger 2006-09-13 07:46:35 +00:00
parent a3a91eada6
commit 97420e6a7a
1 changed files with 1 additions and 1 deletions

View File

@ -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)