Merge pull request #4205 from element-hq/feature/bma/mediaNavigation

Add ability to swipe between media when opened from the timeline.
This commit is contained in:
Benoit Marty
2025-01-29 11:51:06 +01:00
committed by GitHub
62 changed files with 1002 additions and 376 deletions
@@ -118,8 +118,9 @@ interface MatrixRoom : Closeable {
/**
* Create a new timeline for the media events of the room.
* @param eventId The event to focus on, if any.
*/
suspend fun mediaTimeline(): Result<Timeline>
suspend fun mediaTimeline(eventId: EventId?): Result<Timeline>
fun destroy()