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

This commit is contained in:
Yann Leboulanger 2006-11-15 20:46:18 +00:00
parent 9c1fdad5ec
commit 1620ff8471
1 changed files with 2 additions and 1 deletions

View File

@ -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