From d8a80828878cc7b8c5fbd287bea96c64b7750b2d Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Fri, 24 Apr 2026 13:39:00 -0400 Subject: [PATCH] removes the account retainer logic --- .../notifications/AlwaysOnNotificationServiceManager.kt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/service/notifications/AlwaysOnNotificationServiceManager.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/service/notifications/AlwaysOnNotificationServiceManager.kt index 8cffc6edb..b124ba8ca 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/service/notifications/AlwaysOnNotificationServiceManager.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/service/notifications/AlwaysOnNotificationServiceManager.kt @@ -160,9 +160,10 @@ class AlwaysOnNotificationServiceManager( private fun stopMultiAccountPreload() { preloadJob?.cancel() preloadJob = null - val active = activePubKeyProvider() - if (active != null) { - accountsCache.retainOnly(setOf(active)) - } + // remove this because we don't know which other accounts might be getting used. + // val active = activePubKeyProvider() + // if (active != null) { + // accountsCache.retainOnly(setOf(active)) + // } } }