Do NOT log GC that we said we don't want to log
This commit is contained in:
		
							parent
							
								
									29cc2d0939
								
							
						
					
					
						commit
						76b6680650
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -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:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue