mirror of
https://github.com/element-hq/element-android
synced 2024-11-26 19:35:42 +03:00
Fix quality
This commit is contained in:
parent
320aae1430
commit
2ada4c8491
1 changed files with 2 additions and 1 deletions
|
@ -326,7 +326,8 @@ internal class LocalEchoEventFactory @Inject constructor(
|
|||
// As we always supply formatted body for replies we should force the MarkdownParser to produce html.
|
||||
val newBodyFormatted = replyTextFormatted ?: markdownParser.parse(replyText, force = true, advanced = autoMarkdown).takeFormatted()
|
||||
// Body of the original message may not have formatted version, so may also have to convert to html.
|
||||
val formattedBodyOfRepliedEvent = bodyOfRepliedEvent.formattedText ?: markdownParser.parse(bodyOfRepliedEvent.text, force = true, advanced = autoMarkdown).takeFormatted()
|
||||
val formattedBodyOfRepliedEvent =
|
||||
bodyOfRepliedEvent.formattedText ?: markdownParser.parse(text = bodyOfRepliedEvent.text, force = true, advanced = autoMarkdown).takeFormatted()
|
||||
val replyFormatted = buildFormattedReply(
|
||||
permalink,
|
||||
userLink,
|
||||
|
|
Loading…
Reference in a new issue