pres_obj.show is already unicode version of show
This commit is contained in:
parent
96b1cc524d
commit
70c3245a45
|
@ -2104,8 +2104,7 @@ class NotificationEvent(nec.NetworkIncomingEvent):
|
|||
{'nick': gajim.get_name_from_jid(account, self.jid)}
|
||||
self.popup_text = _('%(nick)s is now %(status)s') % \
|
||||
{'nick': gajim.get_name_from_jid(account, self.jid),\
|
||||
'status': helpers.get_uf_show(
|
||||
gajim.SHOW_LIST[pres_obj.show])}
|
||||
'status': helpers.get_uf_show(pres_obj.show)}
|
||||
if pres_obj.status:
|
||||
text = text + " : " + pres_obj.status
|
||||
self.popup_event_type = _('Contact Changed Status')
|
||||
|
|
Loading…
Reference in New Issue