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:
commit
0d223bd5e4
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ function textForMemberEvent(ev) {
|
||||||
});
|
});
|
||||||
} else if (!prevContent.displayname && content.displayname) {
|
} else if (!prevContent.displayname && content.displayname) {
|
||||||
return _t('%(senderName)s set their display name to %(displayName)s.', {
|
return _t('%(senderName)s set their display name to %(displayName)s.', {
|
||||||
senderName,
|
senderName: ev.getSender(),
|
||||||
displayName: content.displayname,
|
displayName: content.displayname,
|
||||||
});
|
});
|
||||||
} else if (prevContent.displayname && !content.displayname) {
|
} else if (prevContent.displayname && !content.displayname) {
|
||||||
|
|
Loading…
Reference in a new issue