fix(bindings): Change the is_syncing method to read the correct value

This commit is contained in:
Damir Jelić 2022-12-05 13:40:17 +01:00
parent 1f38becdd9
commit 58f92e59fe
1 changed files with 1 additions and 1 deletions

View File

@ -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