Handling of forwarded messages in previews.

This commit is contained in:
aforge
2021-09-28 15:40:42 +03:00
parent 4f1c9e161a
commit 4ad0baf99a
10 changed files with 343 additions and 259 deletions
+1 -1
View File
@@ -855,7 +855,7 @@ class MessagesView extends React.Component {
typeof content == 'string' ?
Drafty.init(content) : content;
if (Drafty.isValid(content)) {
content = Drafty.preview(content, QUOTED_REPLY_LENGTH);
content = Drafty.preview(content, QUOTED_REPLY_LENGTH, undefined, forwarded != null);
} else {
// /!\ invalid content.
content = Drafty.append(Drafty.init('\u26A0 '),