Fix the function that checks if we should log message. Fixes #6873
This commit is contained in:
		
							parent
							
								
									f01e2cdf2d
								
							
						
					
					
						commit
						9250540825
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -78,7 +78,8 @@ class StanzaSession(object):
 | 
			
		|||
        self.negotiated = {}
 | 
			
		||||
 | 
			
		||||
    def is_loggable(self):
 | 
			
		||||
        return self.loggable and gajim.config.should_log(self.conn.name, self.jid)
 | 
			
		||||
        return self.loggable and gajim.config.should_log(self.conn.name,
 | 
			
		||||
            self.jid.getStripped())
 | 
			
		||||
 | 
			
		||||
    def get_to(self):
 | 
			
		||||
        to = str(self.jid)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue