Render body for m.room.message if msgtype is unknown, in timeline and as room list last message. #1539
This commit is contained in:
parent
8c2a5f281b
commit
bcefbb9861
2 changed files with 8 additions and 3 deletions
|
|
@ -130,7 +130,8 @@ class DefaultRoomLastMessageFormatter @Inject constructor(
|
|||
sp.getString(CommonStrings.common_audio)
|
||||
}
|
||||
UnknownMessageType -> {
|
||||
sp.getString(CommonStrings.common_unsupported_event)
|
||||
// Display the body as a fallback
|
||||
messageContent.body
|
||||
}
|
||||
is NoticeMessageType -> {
|
||||
messageType.body
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue