optimize
This commit is contained in:
		
							parent
							
								
									cb32099db6
								
							
						
					
					
						commit
						69fc11d949
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -359,7 +359,7 @@ def ensure_unicode_string(s):
 | 
			
		|||
	return s
 | 
			
		||||
 | 
			
		||||
def get_xmpp_show(show):
 | 
			
		||||
	if show in ['online', 'offline']:
 | 
			
		||||
	if show in ('online', 'offline'):
 | 
			
		||||
		return None
 | 
			
		||||
	return show
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue