Merge pull request #1841 from matrix-org/dbkr/set_display_name_text

Use mxid as sender name on set display name
This commit is contained in:
Luke Barnard 2018-04-23 13:20:06 +01:00 committed by GitHub
commit 0d223bd5e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {