From 995ade8a1145d53d7ce279cc46db517f0c12f577 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Thu, 7 Sep 2017 16:42:51 +0200 Subject: [PATCH] Only log for GC Message for one account --- gajim/common/connection_handlers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gajim/common/connection_handlers.py b/gajim/common/connection_handlers.py index c0532eb85..159f95346 100644 --- a/gajim/common/connection_handlers.py +++ b/gajim/common/connection_handlers.py @@ -1155,6 +1155,8 @@ class ConnectionHandlersBase: return True def _nec_gc_message_received(self, obj): + if obj.conn.name != self.name: + return if app.config.should_log(obj.conn.name, obj.jid) and not \ obj.timestamp < obj.conn.last_history_time[obj.jid] and obj.msgtxt and \ obj.nick: