From dc97e5004e34e5cdcd0786744bad2e0e0a962225 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Tue, 9 Sep 2025 12:16:52 -0400 Subject: [PATCH] Uses local copy of cache instead of global singleton --- .../src/main/java/com/vitorpamplona/amethyst/model/Account.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/model/Account.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/model/Account.kt index 7f00d8630c..4fa8c1194f 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/model/Account.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/model/Account.kt @@ -1784,7 +1784,7 @@ class Account( } scope.launch { - LocalCache.live.newEventBundles.collect { newNotes -> + cache.live.newEventBundles.collect { newNotes -> logTime("Account ${userProfile().toBestDisplayName()} newEventBundle Update with ${newNotes.size} new notes") { upgradeAttestations() newNotesPreProcessor.runNew(newNotes) @@ -1793,7 +1793,7 @@ class Account( } scope.launch { - LocalCache.live.deletedEventBundles.collect { newNotes -> + cache.live.deletedEventBundles.collect { newNotes -> logTime("Account ${userProfile().toBestDisplayName()} deletedEventBundle Update with ${newNotes.size} new notes") { newNotesPreProcessor.runDeleted(newNotes) }