Do NOT log GC that we said we don't want to log
This commit is contained in:
parent
29cc2d0939
commit
76b6680650
|
@ -1618,8 +1618,8 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
|
||||||
return
|
return
|
||||||
self.dispatch('GC_MSG', (frm, msgtxt, tim, has_timestamp, msghtml,
|
self.dispatch('GC_MSG', (frm, msgtxt, tim, has_timestamp, msghtml,
|
||||||
statusCode))
|
statusCode))
|
||||||
if self.name not in no_log_for and not int(float(mktime(tim)))\
|
if self.name not in no_log_for and jid not in no_log_for and not \
|
||||||
<= self.last_history_line[jid] and msgtxt:
|
int(float(mktime(tim))) <= self.last_history_line[jid] and msgtxt:
|
||||||
try:
|
try:
|
||||||
gajim.logger.write('gc_msg', frm, msgtxt, tim = tim)
|
gajim.logger.write('gc_msg', frm, msgtxt, tim = tim)
|
||||||
except exceptions.PysqliteOperationalError, e:
|
except exceptions.PysqliteOperationalError, e:
|
||||||
|
|
Loading…
Reference in New Issue