mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 03:36:07 +03:00
Simplifie code
Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
This commit is contained in:
parent
430ae0e79f
commit
e282c4aa54
1 changed files with 2 additions and 2 deletions
|
@ -510,9 +510,9 @@ function textForPinnedEvent(event: MatrixEvent, allowJSX: boolean): () => string
|
|||
}
|
||||
</span>
|
||||
);
|
||||
} else {
|
||||
return () => _t("%(senderName)s changed the pinned messages for the room.", { senderName });
|
||||
}
|
||||
|
||||
return () => _t("%(senderName)s changed the pinned messages for the room.", { senderName });
|
||||
}
|
||||
|
||||
function textForWidgetEvent(event): () => string | null {
|
||||
|
|
Loading…
Reference in a new issue