From 1620ff847117185366e7579dea48277eea8cdd42 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 15 Nov 2006 20:46:18 +0000 Subject: [PATCH] transform no_log_for to a list before looking in it. fixes #2613 --- src/common/connection.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/connection.py b/src/common/connection.py index 5eada5dc0..1acca7ee0 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -744,7 +744,8 @@ class Connection(ConnectionHandlers): chatstate_node.addChild(name = 'composing') self.connection.send(msg_iq) - no_log_for = gajim.config.get_per('accounts', self.name, 'no_log_for') + no_log_for = gajim.config.get_per('accounts', self.name, 'no_log_for')\ + .split() ji = gajim.get_jid_without_resource(jid) if self.name not in no_log_for and ji not in no_log_for: log_msg = msg