add missing () in a test. fices #2589
This commit is contained in:
		
							parent
							
								
									d90e907651
								
							
						
					
					
						commit
						e2430062f1
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -395,7 +395,7 @@ class RosterWindow:
 | 
			
		|||
		show_offline = gajim.config.get('showoffline')
 | 
			
		||||
		show_transports = gajim.config.get('show_transports_group')
 | 
			
		||||
		if (_('Transports') in contact.groups and not show_transports) or \
 | 
			
		||||
		(contact.show in ('offline', 'error') or hide and not show_offline and \
 | 
			
		||||
		((contact.show in ('offline', 'error') or hide) and not show_offline and \
 | 
			
		||||
		(not _('Transports') in contact.groups or \
 | 
			
		||||
		gajim.account_is_disconnected(account))) and \
 | 
			
		||||
		len(gajim.events.get_events(account, contact.jid, ['chat'])) == 0:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue