Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1841 from matrix-org/dbkr/set_display_name_text
Browse files Browse the repository at this point in the history
Use mxid as sender name on set display name
  • Loading branch information
lukebarnard1 committed Apr 23, 2018
2 parents fa318ef + 3b85920 commit 0d223bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TextForEvent.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function textForMemberEvent(ev) {
});
} else if (!prevContent.displayname && content.displayname) {
return _t('%(senderName)s set their display name to %(displayName)s.', {
senderName,
senderName: ev.getSender(),
displayName: content.displayname,
});
} else if (prevContent.displayname && !content.displayname) {
Expand Down

0 comments on commit 0d223bd

Please sign in to comment.