Iterate PR

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-06-24 14:02:06 +02:00
parent a8b2c6d36b
commit 6333d4aa36
No known key found for this signature in database
GPG key ID: 9760693FDD98A790
3 changed files with 32 additions and 24 deletions

View file

@ -28,7 +28,7 @@ export default class TextualEvent extends React.Component {
};
render() {
const text = TextForEvent.textForEvent(this.props.mxEvent);
const text = TextForEvent.textForEvent(this.props.mxEvent, true);
if (text == null || text.length === 0) return null;
return (
<div className="mx_TextualEvent">{ text }</div>