Closed bmarty closed 1 month ago
We stop the sync before login out here: https://github.com/element-hq/element-x-android/blob/main/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt#L466, but there are 2 problems:
We should probably let the MatrixClient expose a canStartSync flow to avoid the sync to be automatically started again by observeSyncStateAndNetworkStatus()
canStartSync
observeSyncStateAndNetworkStatus()
We are not stopping the sync anymore, but instead we remove the client listener (done in #3480). So I guess we can close this issue.
We stop the sync before login out here: https://github.com/element-hq/element-x-android/blob/main/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/RustMatrixClient.kt#L466, but there are 2 problems:
We should probably let the MatrixClient expose a
canStartSync
flow to avoid the sync to be automatically started again byobserveSyncStateAndNetworkStatus()