From 8c07a06622494551d5cd7123a77763018f290675 Mon Sep 17 00:00:00 2001
From: Jean-Marie Traissard <jim@lapin.org>
Date: Wed, 20 Sep 2006 17:40:42 +0000
Subject: [PATCH] Don't allow notifs when we are away/xa/dnd and autopopupaway
 is False. (Undo second part of [6735])

---
 src/common/helpers.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/common/helpers.py b/src/common/helpers.py
index 1226f2cd54..a6c9dbaf34 100644
--- a/src/common/helpers.py
+++ b/src/common/helpers.py
@@ -741,8 +741,6 @@ first = True):
 			return False
 	if type and (not gajim.config.get(type) or not first):
 		return False
-	if type and gajim.config.get(type) and first:
-		return True
 	if gajim.config.get('autopopupaway'): # always show notification
 		return True
 	if gajim.connections[account].connected in (2, 3): # we're online or chat
-- 
GitLab