Try to fix some issues with roomList and timeline...
This commit is contained in:
parent
089e1da4b7
commit
bf57b54fee
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()
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue