Fix correcting styled reply

(cherry picked from commit 257736356a54dd0b920f0d5e0c6839020cb4051f)
This commit is contained in:
Stephen Paul Weber 2024-07-02 10:06:12 -05:00 committed by Arne
parent be7917323d
commit 218b252609

View file

@ -458,6 +458,8 @@ public class Message extends AbstractEntity implements AvatarService.Avatarable
clearReplyReact();
if (body == null) body = new SpannableStringBuilder(getBody(true));
final Element html = getOrMakeHtml();
html.clearChildren();
setBody(QuoteHelper.quote(MessageUtils.prepareQuote(replyTo)) + "\n");
final String replyId = replyTo.replyId();