mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
use the appropriate timeline kind (to be refactored)
This commit is contained in:
@@ -340,6 +340,7 @@ struct TimelineMediaPreviewDataSourceTests {
|
||||
TimelineFixtures.mediaChunk
|
||||
.compactMap { $0 as? EventBasedMessageTimelineItemProtocol }
|
||||
.filter(\.supportsMediaCaption) // Voice messages can't be previewed (and don't support captions).
|
||||
.filter { !($0 is GalleryRoomTimelineItem) } // Galleries are previewed through their own data source.
|
||||
}
|
||||
|
||||
@discardableResult
|
||||
|
||||
Reference in New Issue
Block a user