Commit 911674d5 authored by Philipp Hörist's avatar Philipp Hörist

Fix status tray notification

Clicking on a new message notification in the status tray didnt open the chat
parent 5b1f8bcc
Pipeline #2964 passed with stages
in 3 minutes and 30 seconds
......@@ -1470,10 +1470,13 @@ class Interface:
app.events.change_jid(account, fjid, jid)
resource = None
fjid = jid
contact = None
if resource:
contact = app.contacts.get_contact(account, jid, resource) or highest_contact
if contact is None:
contact = app.contacts.get_contact(account, jid, resource)
if not contact:
contact = highest_contact
if not contact:
# Maybe we deleted the contact from the roster
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment