Merge pull request #1802 from vector-im/feature/bma/emoteHtml
Fix rendering of emote when the message contains some formatting.
This commit is contained in:
commit
1df3f6113a
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ class TimelineItemContentMessageFactory @Inject constructor(
|
|||
return when (val messageType = content.type) {
|
||||
is EmoteMessageType -> TimelineItemEmoteContent(
|
||||
body = "* $senderDisplayName ${messageType.body}",
|
||||
htmlDocument = messageType.formatted?.toHtmlDocument(prefix = "* senderDisplayName"),
|
||||
htmlDocument = messageType.formatted?.toHtmlDocument(prefix = "* $senderDisplayName"),
|
||||
isEdited = content.isEdited,
|
||||
)
|
||||
is ImageMessageType -> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue