mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-10 16:33:27 +00:00
The three pinned per-user replaceable notes (NIP-65 / DM relays / nutzap info) were lazy fields. Lazy delegation here adds a synchronized read on every access for no gain — User is constructed via LocalCache.getOrCreate, and the pinned notes are read on essentially every interaction with the user. Resolving them at construction also lets us drop the stored UserContext reference.