Bump the RustSDK, adopt latest sliding sync changes and fixes

This commit is contained in:
Stefan Ceriu
2023-05-31 18:33:46 +03:00
committed by Stefan Ceriu
parent 2a58b115e3
commit f792aafe8d
5 changed files with 12 additions and 18 deletions
@@ -168,8 +168,13 @@ class ClientProxy: ClientProxyProtocol {
func stopSync() {
MXLog.info("Stopping sync")
slidingSync?.stopSync()
slidingSyncObserverToken = nil
do {
try slidingSync?.stopSync()
} catch {
MXLog.error("Failed stopping sync with error: \(error). Ignore this error if ran just before the app being suspended")
}
}
func directRoomForUserID(_ userID: String) async -> Result<String?, ClientProxyError> {