Use Drafty.preview instead of Drafty.replyPreview.

This commit is contained in:
aforge
2021-09-04 19:46:14 +03:00
parent 2ace6b8ad7
commit b833844d09
+1 -1
View File
@@ -843,7 +843,7 @@ class MessagesView extends React.Component {
if (typeof cont == 'string') {
cont = Drafty.init(cont);
}
cont = Drafty.replyPreview(cont, 30, quotePreviewFmt);
cont = Drafty.preview(cont, 30, quotePreviewFmt);
// Get the author.
let header;