mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-12 00:17:02 +02:00
Implement configuration-driven cache hydration and active user sync: - Add ACTIVE_USER_KINDS constant [3, 10002, 10063] for configurable sync - Add hydrateEventStore() method to load cached events on startup - Refactor useAccountSync to loop through ACTIVE_USER_KINDS dynamically - Remove deprecated useRelayListCacheSync/useBlossomServerCacheSync hooks - Call hydration in AppShell on mount to solve "orphaned cache" problem Benefits: - Adding new kinds is just updating ACTIVE_USER_KINDS array - Cache is immediately available on startup (no wasted bandwidth) - Cleaner, more maintainable code with single loop - Kind 3 (contacts) now auto-synced for $contacts alias