Skip to content

Commit

Permalink
task(event cache): log whenever we receive an ignore user list change
Browse files Browse the repository at this point in the history
  • Loading branch information
bnjbvr committed Nov 26, 2024
1 parent c61f707 commit 1fbe681
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/matrix-sdk/src/event_cache/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ use tokio::sync::{
broadcast::{error::RecvError, Receiver},
Mutex, RwLock,
};
use tracing::{error, info_span, instrument, trace, warn, Instrument as _, Span};
use tracing::{error, info, info_span, instrument, trace, warn, Instrument as _, Span};

use self::paginator::PaginatorError;
use crate::{client::WeakClient, Client};
Expand Down Expand Up @@ -212,6 +212,7 @@ impl EventCache {

async move {
while ignore_user_list_stream.next().await.is_some() {
info!("received an ignore user list change");
inner.clear_all_rooms().await;
}
}
Expand Down

0 comments on commit 1fbe681

Please sign in to comment.