Pinned events : introduce pinnedEventsTimeline method.

This commit is contained in:
ganfra 2024-08-01 18:22:22 +02:00
parent 039744c4be
commit 34fd21f440
3 changed files with 25 additions and 0 deletions

View file

@ -106,6 +106,11 @@ interface MatrixRoom : Closeable {
*/
suspend fun timelineFocusedOnEvent(eventId: EventId): Result<Timeline>
/**
* Create a new timeline for the pinned events of the room.
*/
suspend fun pinnedEventsTimeline(): Result<Timeline>
fun destroy()
suspend fun subscribeToSync()