mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
change(room members): makes sure to subscribe to timeline items changes
This commit is contained in:
+2
@@ -54,6 +54,7 @@ interface Timeline : AutoCloseable {
|
||||
|
||||
val mode: Mode
|
||||
val membershipChangeEventReceived: Flow<Unit>
|
||||
val onSyncedEventReceived: Flow<Unit>
|
||||
suspend fun sendReadReceipt(eventId: EventId, receiptType: ReceiptType): Result<Unit>
|
||||
suspend fun markAsRead(receiptType: ReceiptType): Result<Unit>
|
||||
suspend fun paginate(direction: PaginationDirection): Result<Boolean>
|
||||
@@ -233,4 +234,5 @@ interface Timeline : AutoCloseable {
|
||||
* Get the latest event id of the timeline.
|
||||
*/
|
||||
suspend fun getLatestEventId(): Result<EventId?>
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user