prevent TB, call set_active() with jid without resource if we open window without resource
This commit is contained in:
parent
f6565b5703
commit
b69d736c94
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue