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
commit 55399798b6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
62 changed files with 1002 additions and 376 deletions

View file

@ -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()