From 58f92e59fe210d13212a38f2f9890db8a1f54047 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Mon, 5 Dec 2022 13:40:17 +0100 Subject: [PATCH] fix(bindings): Change the is_syncing method to read the correct value --- bindings/matrix-sdk-ffi/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/matrix-sdk-ffi/src/client.rs b/bindings/matrix-sdk-ffi/src/client.rs index b56288d8a..5e4b0c322 100644 --- a/bindings/matrix-sdk-ffi/src/client.rs +++ b/bindings/matrix-sdk-ffi/src/client.rs @@ -326,7 +326,7 @@ impl Client { /// Indication whether we are currently syncing pub fn is_syncing(&self) -> bool { - self.state.read().unwrap().has_first_synced + self.state.read().unwrap().is_syncing } /// Flag indicating whether the session is in soft logout mode