mirror of
https://codeberg.org/monocles/monocles_chat.git
synced 2025-01-16 06:32:22 +01:00
Fix correcting styled reply
(cherry picked from commit 257736356a54dd0b920f0d5e0c6839020cb4051f)
This commit is contained in:
parent
be7917323d
commit
218b252609
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue