Skip to content
Snippets Groups Projects
Commit f8c8a529 authored by Dicson's avatar Dicson
Browse files

[Darlan] Present JID LTR in tooltip. Fixes #7402

parent 7df63160
No related branches found
No related tags found
No related merge requests found
......@@ -390,7 +390,8 @@ class GCTooltip(BaseTooltip):
properties.append((show, None))
if contact.jid.strip():
properties.append((_('Jabber ID: '), "<b>%s</b>" % contact.jid))
properties.append((_('Jabber ID: '), u'\u200E' + "<b>%s</b>" % \
contact.jid))
if hasattr(contact, 'resource') and contact.resource.strip():
properties.append((_('Resource: '),
......@@ -610,7 +611,8 @@ class RosterTooltip(NotificationAreaTooltip):
self._append_pep_info(contact, properties)
properties.append((_('Jabber ID: '), "<b>%s</b>" % prim_contact.jid))
properties.append((_('Jabber ID: '), u'\u200E' + "<b>%s</b>" % \
prim_contact.jid))
# contact has only one ressource
if num_resources == 1 and contact.resource:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment