mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-07 15:33:45 -04:00
base: Log when the same sync response is received twice
This commit is contained in:
committed by
Jonas Platte
parent
95ced18edd
commit
a0128a94ef
@@ -702,6 +702,7 @@ impl BaseClient {
|
||||
// that case we already received this response and there's nothing to
|
||||
// do.
|
||||
if self.store.sync_token.read().await.as_ref() == Some(&response.next_batch) {
|
||||
info!("Got the same sync response twice");
|
||||
return Ok(SyncResponse::default());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user