Move some package on core + try some stuff around sync/roomlist

This commit is contained in:
ganfra 2022-11-10 12:39:37 +01:00
parent 8e3f600bd1
commit 2bf898582c
18 changed files with 106 additions and 43 deletions

View file

@ -22,7 +22,7 @@ class LoginViewModel(initialState: LoginViewState) :
viewModelScope.launch {
suspend {
matrix.login(state.homeserver, state.login, state.password)
Unit
matrix.activeClient().startSync()
}.execute {
copy(isLoggedIn = it)
}