diff --git a/src/dialogs.py b/src/dialogs.py index 2fa975e9ca1d8de7b747966da71fd421f40b22d0..ecfc7815e29f9c00218a32768c7cff3dc8eccf3e 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -4592,7 +4592,8 @@ class InvitationReceivedDialog: % {'room_jid': room_jid} contact = gajim.contacts.get_first_contact_from_jid(account, jid) contact_text = contact and contact.name or jid - sectext = sectext.replace('$Contact', contact_text) + sectext = i18n.direction_mark + sectext.replace('$Contact', + contact_text) if comment: # only if not None and not '' comment = gobject.markup_escape_text(comment) diff --git a/src/groupchat_control.py b/src/groupchat_control.py index 2cf6aa1cd113cdb9fe72118e4d5293b7a3ebca7e..cbd3936806d9ab797e90c470fc24d73b8b40126a 100644 --- a/src/groupchat_control.py +++ b/src/groupchat_control.py @@ -1547,7 +1547,7 @@ class GroupchatControl(ChatControlBase): newly_created = False nick = i18n.direction_mark + obj.nick - nick_jid = nick + nick_jid = nick + i18n.direction_mark # Set to true if role or affiliation have changed right_changed = False