Try to fix some issues with roomList and timeline...

This commit is contained in:
ganfra
2022-11-14 18:06:44 +01:00
parent 67f3c94f55
commit d1408395f4
10 changed files with 107 additions and 78 deletions
@@ -67,6 +67,7 @@ class MessagesViewModel(
}
private fun handleInit() {
timeline.initialize()
room.syncUpdateFlow()
.onEach {
val avatarData =
@@ -97,5 +98,6 @@ class MessagesViewModel(
override fun onCleared() {
super.onCleared()
timeline.dispose()
}
}