show status of not in roster contacts in roster. Fixes #4144
This commit is contained in:
		
							parent
							
								
									bf9ca5e24a
								
							
						
					
					
						commit
						c619f59b84
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -620,6 +620,8 @@ def get_icon_name_to_show(contact, account = None):
 | 
				
			||||||
	transport = gajim.get_transport_name_from_jid(contact.jid)
 | 
						transport = gajim.get_transport_name_from_jid(contact.jid)
 | 
				
			||||||
	if transport:
 | 
						if transport:
 | 
				
			||||||
		return contact.show
 | 
							return contact.show
 | 
				
			||||||
 | 
						if contact.show in gajim.SHOW_LIST:
 | 
				
			||||||
 | 
							return contact.show
 | 
				
			||||||
	return 'not in roster'
 | 
						return 'not in roster'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def decode_string(string):
 | 
					def decode_string(string):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue