From 76b6680650aee882176bd09400da354d416864c8 Mon Sep 17 00:00:00 2001 From: Jean-Marie Traissard Date: Sat, 15 Sep 2007 13:05:23 +0000 Subject: [PATCH] Do NOT log GC that we said we don't want to log --- src/common/connection_handlers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index b868e1678..441401a2a 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -1618,8 +1618,8 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco, return self.dispatch('GC_MSG', (frm, msgtxt, tim, has_timestamp, msghtml, statusCode)) - if self.name not in no_log_for and not int(float(mktime(tim)))\ - <= self.last_history_line[jid] and msgtxt: + if self.name not in no_log_for and jid not in no_log_for and not \ + int(float(mktime(tim))) <= self.last_history_line[jid] and msgtxt: try: gajim.logger.write('gc_msg', frm, msgtxt, tim = tim) except exceptions.PysqliteOperationalError, e: