prevent TB, call set_active() with jid without resource if we open window without resource

This commit is contained in:
Yann Leboulanger 2006-10-12 16:37:08 +00:00
parent f6565b5703
commit b69d736c94
1 changed files with 1 additions and 0 deletions

View File

@ -1763,6 +1763,7 @@ class Interface:
account, jid) account, jid)
if resource and highest_contact.resource == resource: if resource and highest_contact.resource == resource:
resource = None resource = None
fjid = jid
contact = gajim.contacts.get_contact(account, jid, resource) contact = gajim.contacts.get_contact(account, jid, resource)
if not contact or isinstance(contact, list): if not contact or isinstance(contact, list):
contact = highest_contact contact = highest_contact