diff --git a/src/dialogs.py b/src/dialogs.py index 8385c9805..445993919 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -4590,7 +4590,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 69af7ebf5..55d05b98f 100644 --- a/src/groupchat_control.py +++ b/src/groupchat_control.py @@ -1545,7 +1545,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