From a803ba275846d67b41682959b378b97b81089c83 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 1 Apr 2006 20:56:34 +0000 Subject: [PATCH] take into account notify_on_new_message option for pm --- src/gajim.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gajim.py b/src/gajim.py index c15972f71..e8b9d30ab 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -559,7 +559,8 @@ class Interface: room_jid = jid nick = resource if first: - if helpers.allow_showing_notification(account): + if gajim.config.get('notify_on_new_message') and \ + helpers.allow_showing_notification(account): room_name, t = gajim.get_room_name_and_server_from_room_jid( room_jid) txt = _('%(nickname)s in room %(room_name)s says: %(message)s') \