show 'offline' to offline users with no
message
This commit is contained in:
		
							parent
							
								
									f4c6c41e5b
								
							
						
					
					
						commit
						438606b50d
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -689,6 +689,9 @@ class NotificationAreaTooltip(BaseTooltip, StatusTable):
 | 
			
		|||
					message = message.strip()
 | 
			
		||||
				if message != '':
 | 
			
		||||
					single_line += ': ' + message
 | 
			
		||||
				# the other solution is to hide offline accounts
 | 
			
		||||
				elif status == 'offline':
 | 
			
		||||
					message = helpers.get_uf_show(status)
 | 
			
		||||
				accounts.append({'name':account, 'status_line':single_line, 
 | 
			
		||||
						'show':status, 'message':message})
 | 
			
		||||
		unread_messages_no = self.plugin.roster.nb_unread
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue