From 588d6046533a9657bcb2eb98d2e886437e7964e4 Mon Sep 17 00:00:00 2001 From: Michael Goldenberg Date: Tue, 7 Oct 2025 11:54:54 -0400 Subject: [PATCH] refactor(indexeddb): remove extraneous log message Signed-off-by: Michael Goldenberg --- crates/matrix-sdk-indexeddb/src/media_store/mod.rs | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/crates/matrix-sdk-indexeddb/src/media_store/mod.rs b/crates/matrix-sdk-indexeddb/src/media_store/mod.rs index 8124c9f56..a5b08c53e 100644 --- a/crates/matrix-sdk-indexeddb/src/media_store/mod.rs +++ b/crates/matrix-sdk-indexeddb/src/media_store/mod.rs @@ -379,13 +379,10 @@ impl MediaStoreInner for IndexeddbMediaStore { CursorDirection::Prev, ignore_policy, 0usize, - |total, key| { - web_sys::console::log_1(&format!("total={total}, key={key:?}").into()); - match total.checked_add(key.content_size()) { - None => None, - Some(total) if total > max_cache_size as usize => None, - Some(total) => Some(total), - } + |total, key| match total.checked_add(key.content_size()) { + None => None, + Some(total) if total > max_cache_size as usize => None, + Some(total) => Some(total), }, ) .await?;