Timeline : add a mode to differentiate between live/focused/pinned
This commit is contained in:
parent
44ccae3327
commit
741c3679ea
6 changed files with 31 additions and 22 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue