make TimelineCache::timelines private

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind
2025-07-15 16:14:03 -04:00
parent dc4e3d7510
commit cc92fc2082
8 changed files with 14 additions and 21 deletions

View File

@@ -281,7 +281,7 @@ impl NewNotes {
) {
let reversed = false;
let timeline = if let Some(profile) = timeline_cache.timelines.get_mut(&self.id) {
let timeline = if let Some(profile) = timeline_cache.get_mut(&self.id) {
profile
} else {
error!("NewNotes: could not get timeline for key {}", self.id);