Philipp Hörist pushed to branch gajim_1.1 at gajim / gajim
Commits: b2cc2147 by Philipp Hörist at 2018-12-26T11:44:18Z Fix status tray notification
Clicking on a new message notification in the status tray didnt open the chat
- - - - -
1 changed file:
- gajim/gui_interface.py
Changes:
===================================== gajim/gui_interface.py ===================================== @@ -1645,10 +1645,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
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/b2cc2147c3b936cbe4468e9f978942c00cc...