mirror of https://github.com/vector-im/riot-web
Simplifie code
Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>pull/21833/head
parent
430ae0e79f
commit
e282c4aa54
|
@ -510,9 +510,9 @@ function textForPinnedEvent(event: MatrixEvent, allowJSX: boolean): () => string
|
||||||
}
|
}
|
||||||
</span>
|
</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 {
|
function textForWidgetEvent(event): () => string | null {
|
||||||
|
|
Loading…
Reference in New Issue