Fix tests and warnings

This commit is contained in:
ganfra 2023-12-14 13:13:11 +01:00
parent d3e1fea3e4
commit bb7123afbd
6 changed files with 18 additions and 10 deletions

View file

@ -47,7 +47,7 @@ class AsyncMatrixTimeline(
MutableStateFlow(emptyList())
private val _paginationState = MutableStateFlow(
MatrixTimeline.PaginationState()
MatrixTimeline.PaginationState.Initial
)
private val timeline = coroutineScope.async(context = dispatcher, start = CoroutineStart.LAZY) {
timelineProvider()

View file

@ -72,7 +72,7 @@ class RustMatrixTimeline(
MutableStateFlow(emptyList())
private val _paginationState = MutableStateFlow(
MatrixTimeline.PaginationState()
MatrixTimeline.PaginationState.Initial
)
private val encryptedHistoryPostProcessor = TimelineEncryptedHistoryPostProcessor(