Timeline : add a mode to differentiate between live/focused/pinned

This commit is contained in:
ganfra 2024-08-05 20:40:42 +02:00
parent 44ccae3327
commit 741c3679ea
6 changed files with 31 additions and 22 deletions

View file

@ -46,6 +46,12 @@ interface Timeline : AutoCloseable {
FORWARDS
}
enum class Mode {
LIVE,
FOCUSED_ON_EVENT,
FOCUSED_ON_PINNED_EVENTS
}
val membershipChangeEventReceived: Flow<Unit>
suspend fun sendReadReceipt(eventId: EventId, receiptType: ReceiptType): Result<Unit>
suspend fun paginate(direction: PaginationDirection): Result<Boolean>