mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-02 06:06:57 +02:00
Message bubbles: Handle file messages.
This commit is contained in:
@@ -165,7 +165,7 @@ class BubbleRoomCellLayoutUpdater: RoomCellLayoutUpdating {
|
||||
let messageType = MXMessageType(identifier: messageTypeString)
|
||||
|
||||
switch messageType {
|
||||
case .text :
|
||||
case .text, .file:
|
||||
return true
|
||||
default:
|
||||
break
|
||||
|
||||
+1
-1
@@ -215,7 +215,7 @@ class BubbleRoomTimelineCellDecorator: PlainRoomTimelineCellDecorator {
|
||||
let messageType = MXMessageType(identifier: messageTypeString)
|
||||
|
||||
switch messageType {
|
||||
case .text:
|
||||
case .text, .file:
|
||||
return true
|
||||
default:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user