formatting of forwarded messages previews

This commit is contained in:
or-else
2021-12-20 12:27:02 -08:00
parent b201f019ef
commit bd2def7882
8 changed files with 30 additions and 15 deletions
+1 -2
View File
@@ -82,12 +82,11 @@ class SendMessage extends React.PureComponent {
}
formatReply() {
const fmt = this.props.reply ?
return this.props.reply ?
Drafty.format(this.props.reply.content, replyFormatter, {
formatMessage: this.props.intl.formatMessage.bind(this.props.intl),
authorizeURL: this.props.tinode.authorizeURL.bind(this.props.tinode)
}) : null;
return fmt;
}
handlePasteEvent(e) {