not showing status in tray tooltip
This commit is contained in:
parent
f86a65b757
commit
f4c6c41e5b
|
@ -1006,6 +1006,8 @@ class Connection:
|
|||
else:
|
||||
if not msg:
|
||||
lowered_uf_status_msg = helpers.get_uf_show(show).lower()
|
||||
# FIXME: so, I will have an empty message, not: "I'm online",
|
||||
# because I have a gpg
|
||||
msg = _("I'm %s") % lowered_uf_status_msg
|
||||
signed = self.gpg.sign(msg, keyID)
|
||||
if signed == 'BAD_PASSPHRASE':
|
||||
|
|
|
@ -689,9 +689,6 @@ class NotificationAreaTooltip(BaseTooltip, StatusTable):
|
|||
message = message.strip()
|
||||
if message != '':
|
||||
single_line += ': ' + message
|
||||
else:
|
||||
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…
Reference in New Issue