base: Log when the same sync response is received twice

This commit is contained in:
Jonas Platte
2023-10-24 11:08:20 +02:00
committed by Jonas Platte
parent 95ced18edd
commit a0128a94ef

View File

@@ -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());
}