From 5bf1cbd12dd4cd92e75c706d9b01dea099ce2fb7 Mon Sep 17 00:00:00 2001 From: Benjamin Bouvier Date: Tue, 19 Aug 2025 17:31:36 +0200 Subject: [PATCH] refactor(event cache): get rid of `RoomEventCacheState::store` \o/ --- crates/matrix-sdk/src/event_cache/room/mod.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/crates/matrix-sdk/src/event_cache/room/mod.rs b/crates/matrix-sdk/src/event_cache/room/mod.rs index 6d2abd263..302307ef8 100644 --- a/crates/matrix-sdk/src/event_cache/room/mod.rs +++ b/crates/matrix-sdk/src/event_cache/room/mod.rs @@ -708,9 +708,6 @@ mod private { /// The rules for the version of this room. room_version_rules: RoomVersionRules, - /// Reference to the underlying backing store. - store: EventCacheStoreLock, - /// The loaded events for the current room, that is, the in-memory /// linked chunk for this room. room_linked_chunk: EventLinkedChunk, @@ -817,7 +814,6 @@ mod private { Ok(Self { room: room_id, room_version_rules, - store, room_linked_chunk, threads, waited_for_initial_prev_token: false,