Skip to content

Commit 2ada4c8

Browse files
ganfrajmartinesp
authored andcommitted
Fix quality
1 parent 320aae1 commit 2ada4c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/send/LocalEchoEventFactory.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,8 @@ internal class LocalEchoEventFactory @Inject constructor(
326326
// As we always supply formatted body for replies we should force the MarkdownParser to produce html.
327327
val newBodyFormatted = replyTextFormatted ?: markdownParser.parse(replyText, force = true, advanced = autoMarkdown).takeFormatted()
328328
// Body of the original message may not have formatted version, so may also have to convert to html.
329-
val formattedBodyOfRepliedEvent = bodyOfRepliedEvent.formattedText ?: markdownParser.parse(bodyOfRepliedEvent.text, force = true, advanced = autoMarkdown).takeFormatted()
329+
val formattedBodyOfRepliedEvent =
330+
bodyOfRepliedEvent.formattedText ?: markdownParser.parse(text = bodyOfRepliedEvent.text, force = true, advanced = autoMarkdown).takeFormatted()
330331
val replyFormatted = buildFormattedReply(
331332
permalink,
332333
userLink,

0 commit comments

Comments
 (0)