mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08:00
Use mxid as sender name on set display name
As it was, "<New name> set their display name to <New name>" which is unhelpful because you never knew them as "<New name>" before. They would previously have been displayed with their matrix ID, so that's what should be here.
This commit is contained in:
parent
1aadaa3cc5
commit
3b85920424
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user