From c3e238d2d631882de016ce38b6294fce9beaecfa Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Fri, 27 Feb 2026 10:03:53 +0100 Subject: [PATCH] chore(sdk): Make more fields of `RoomEventCacheInner` private. --- crates/matrix-sdk/src/event_cache/caches/room/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/matrix-sdk/src/event_cache/caches/room/mod.rs b/crates/matrix-sdk/src/event_cache/caches/room/mod.rs index e7af34fa6..93e792303 100644 --- a/crates/matrix-sdk/src/event_cache/caches/room/mod.rs +++ b/crates/matrix-sdk/src/event_cache/caches/room/mod.rs @@ -367,7 +367,7 @@ impl RoomEventCache { /// The (non-cloneable) details of the `RoomEventCache`. pub(in super::super) struct RoomEventCacheInner { /// The room id for this room. - pub(in super::super) room_id: OwnedRoomId, + room_id: OwnedRoomId, pub weak_room: WeakRoom, @@ -386,14 +386,14 @@ pub(in super::super) struct RoomEventCacheInner { auto_shrink_sender: mpsc::Sender, /// Sender part for update subscribers to this room. - pub update_sender: Sender, + update_sender: Sender, /// A clone of [`EventCacheInner::generic_update_sender`]. /// /// Whilst `EventCacheInner` handles the generic updates from the sync, or /// the storage, it doesn't handle the update from pagination. Having a /// clone here allows to access it from [`RoomPagination`]. - pub(in super::super) generic_update_sender: Sender, + generic_update_sender: Sender, } impl RoomEventCacheInner {