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