Use display name when pinned messages are changed
Signed-off-by: Aaron Raimist <aaron@raim.ist>pull/21833/head
parent
92fb6fcdc2
commit
98ede6437e
|
@ -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 New Issue