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

This commit is contained in:
ganfra 2022-11-14 18:06:44 +01:00
parent 089e1da4b7
commit bf57b54fee
10 changed files with 107 additions and 78 deletions

View file

@ -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()
}
}