mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-19 19:21:32 +02:00
Uses local copy of cache instead of global singleton
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user