Fix regression in a4291a27
				
					
				
			This commit is contained in:
		
							parent
							
								
									a4291a27f1
								
							
						
					
					
						commit
						23add367be
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1404,7 +1404,7 @@ class GroupchatControl(ChatControlBase):
 | 
			
		|||
            sound = 'received'
 | 
			
		||||
 | 
			
		||||
        # Is it a history message? Don't want sound-floods when we join.
 | 
			
		||||
        if tim - time.mktime(time.localtime()) > 1:
 | 
			
		||||
        if time.mktime(time.localtime()) - tim > 1:
 | 
			
		||||
            sound = None
 | 
			
		||||
 | 
			
		||||
        return (highlight, sound)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue