task(event cache): log whenever we receive an ignore user list change

This commit is contained in:
Benjamin Bouvier
2024-11-25 17:13:09 +01:00
parent c61f70727f
commit 1fbe6815c3

View File

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