pr suggestions

This commit is contained in:
Mauro Romito
2026-07-30 23:19:28 +02:00
committed by Mauro
parent b044764310
commit e32c534b89
6 changed files with 19 additions and 26 deletions
@@ -449,7 +449,7 @@ private extension RoomTimelineItemViewState {
return [TimelineMediaPreviewItem.Media(roomTimelineItemViewState: self)].compactMap { $0 }
}
return galleryItem.content.attachments(allowedTypes: allowedGalleryItemTypes).map {
return galleryItem.content.items(matching: allowedGalleryItemTypes).map {
TimelineMediaPreviewItem.Media(galleryParent: galleryItem, item: $0.item)
}
}