fix(event-cache): Limit the visibility of room_linked_chunk_mut a bit better

This commit is contained in:
Damir Jelić
2025-11-12 10:12:15 +01:00
parent d7d4730b21
commit d2eab603c1

View File

@@ -1303,7 +1303,7 @@ mod private {
/// Returns a mutable reference to the underlying room linked chunk.
#[cfg(feature = "e2e-encryption")]
pub(in crate::event_cache) fn room_linked_chunk_mut(&mut self) -> &mut EventLinkedChunk {
pub(in super::super) fn room_linked_chunk_mut(&mut self) -> &mut EventLinkedChunk {
&mut self.room_linked_chunk
}