mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
Merge pull request #3809 from aaronraimist/pinned-msg-display-name
Use display name when pinned messages are changed
This commit is contained in:
commit
4ab7b9ba92
1 changed files with 1 additions and 1 deletions
|
@ -473,7 +473,7 @@ function textForPowerEvent(event) {
|
|||
}
|
||||
|
||||
function textForPinnedEvent(event) {
|
||||
const senderName = event.getSender();
|
||||
const senderName = event.sender ? event.sender.name : event.getSender();
|
||||
return _t("%(senderName)s changed the pinned messages for the room.", {senderName});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue