Render body for m.room.message if msgtype is unknown, in timeline and as room list last message. #1539
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user