show 'offline' to offline users with no

message
This commit is contained in:
Dimitur Kirov 2005-08-01 15:54:26 +00:00
parent f4c6c41e5b
commit 438606b50d
1 changed files with 3 additions and 0 deletions

View File

@ -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