[Git][gajim/gajim][master] Fix showing notifications in the roster
Philipp Hörist
gitlab at dev.gajim.org
Sun Jul 1 19:00:50 CEST 2018
Philipp Hörist pushed to branch master at gajim / gajim
Commits:
858e472e by Philipp Hörist at 2018-07-01T19:00:43+02:00
Fix showing notifications in the roster
There is a config setting in Gajim that allows to issue notifications
even if a chatcontrol is open. The config setting was only used for
system/desktop notifications in that case. Now it also controls if
a notification is shown in the roster.
Fixes #9223
- - - - -
1 changed file:
- gajim/notify.py
Changes:
=====================================
gajim/notify.py
=====================================
--- a/gajim/notify.py
+++ b/gajim/notify.py
@@ -45,6 +45,8 @@ def get_show_in_roster(event, account, jid, session=None):
if event == 'gc_message_received':
return True
if event == 'message_received':
+ if app.config.get('autopopup_chat_opened'):
+ return True
if session and session.control:
return False
return True
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/858e472ef48c79ba61e8d9f8a3940e0c073fc040
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/858e472ef48c79ba61e8d9f8a3940e0c073fc040
You're receiving this email because of your account on dev.gajim.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gajim.org/pipermail/commits/attachments/20180701/0cd34854/attachment.html>
More information about the Commits
mailing list