Uses local copy of cache instead of global singleton

This commit is contained in:
Vitor Pamplona
2025-09-09 12:16:52 -04:00
parent 4fb629e893
commit dc97e5004e

View File

@@ -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)
}