Count observers correctly.
This commit is contained in:
		
							parent
							
								
									ef2a936b71
								
							
						
					
					
						commit
						0fca2f6323
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -303,6 +303,8 @@ class Contacts:
 | 
			
		|||
						# Transports group
 | 
			
		||||
						if common.gajim.jid_is_transport(jid):
 | 
			
		||||
							contact_groups = [_('Transports')]
 | 
			
		||||
						if contact.is_observer():
 | 
			
		||||
							contact_groups = [_('Observers')]
 | 
			
		||||
						else:
 | 
			
		||||
							contact_groups = [_('General')]
 | 
			
		||||
					for group in groups:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue