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:
commit
55399798b6
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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue