Skip to content

Commit

Permalink
chore(sdk): Add an info log in sliding sync.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Sep 11, 2024
1 parent a3ae9dc commit 2576042
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/matrix-sdk/src/sliding_sync/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,8 @@ impl SlidingSync {
// “initial” request.
#[cfg(feature = "e2e-encryption")]
if pos.is_none() && self.inner.version.is_native() && self.is_e2ee_enabled() {
info!("Marking all tracked users as dirty");

let olm_machine = self.inner.client.olm_machine().await;
let olm_machine = olm_machine.as_ref().ok_or(Error::NoOlmMachine)?;
olm_machine.mark_all_tracked_users_as_dirty().await?;
Expand Down

0 comments on commit 2576042

Please sign in to comment.