mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-27 03:49:04 +03:00
Fix issue: reply to e2e event does not contain the base message
This commit is contained in:
parent
9d0c50907c
commit
8fa5e63b07
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ internal class LocalEchoEventFactory @Inject constructor(private val credentials
|
|||
// </blockquote>
|
||||
// </mx-reply>
|
||||
// This is where the reply goes.
|
||||
val body = bodyForReply(eventReplied.content.toModel<MessageContent>())
|
||||
val body = bodyForReply(eventReplied.getClearContent().toModel<MessageContent>())
|
||||
val replyFallbackTemplateFormatted = """
|
||||
<mx-reply><blockquote><a href="%s">${stringProvider.getString(R.string.message_reply_to_prefix)}</a><a href="%s">%s</a><br />%s</blockquote></mx-reply>%s
|
||||
""".trimIndent().format(permalink, userLink, userId, body.second ?: body.first, replyText)
|
||||
|
|
Loading…
Reference in a new issue