Skip to content
Snippets Groups Projects
Commit 1620ff84 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

transform no_log_for to a list before looking in it. fixes #2613

parent 9c1fdad5
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment