Show the right image when opening one that has not finished sending (#7359)

* Show the right image when opening one that has not finished sending

* Reuse the timeline media gallery for events that have no event id
This commit is contained in:
hayyaksi
2026-08-20 12:16:13 +03:00
committed by GitHub
parent 7ba29d8a5e
commit 2525019ca1
3 changed files with 30 additions and 3 deletions
@@ -92,7 +92,7 @@ class MediaViewerNode(
is MediaViewerEntryPoint.Params.RoomMedia -> {
val eventId = inputs.eventId
if (eventId == null) {
// Should not happen
// Local echo, the viewer will not be focused on the item
timelineMediaGalleryDataSource
} else {
// Can we use a specific timeline?