Timeline: fetch members only after timeline is ready
This commit is contained in:
parent
5547b6278e
commit
b75752e066
1 changed files with 1 additions and 0 deletions
|
|
@ -127,6 +127,7 @@ class RustMatrixTimeline(
|
||||||
}
|
}
|
||||||
|
|
||||||
private suspend fun fetchMembers() = withContext(dispatcher) {
|
private suspend fun fetchMembers() = withContext(dispatcher) {
|
||||||
|
initLatch.await()
|
||||||
runCatching {
|
runCatching {
|
||||||
innerRoom.fetchMembers()
|
innerRoom.fetchMembers()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue