Message bubbles: Handle file messages.

This commit is contained in:
SBiOSoftWhare
2022-01-24 11:10:59 +01:00
parent 86e80b7cd3
commit c527656e79
2 changed files with 2 additions and 2 deletions
@@ -165,7 +165,7 @@ class BubbleRoomCellLayoutUpdater: RoomCellLayoutUpdating {
let messageType = MXMessageType(identifier: messageTypeString)
switch messageType {
case .text :
case .text, .file:
return true
default:
break
@@ -215,7 +215,7 @@ class BubbleRoomTimelineCellDecorator: PlainRoomTimelineCellDecorator {
let messageType = MXMessageType(identifier: messageTypeString)
switch messageType {
case .text:
case .text, .file:
return true
default:
break