Do NOT log GC that we said we don't want to log

This commit is contained in:
Jean-Marie Traissard 2007-09-15 13:05:23 +00:00
parent 29cc2d0939
commit 76b6680650
1 changed files with 2 additions and 2 deletions

View File

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