mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-11 08:47:33 +00:00
Introduce commons/.../actions/FollowActions as the canonical, non-UI entry point for NIP-02 kind:3 mutations. Accepts pubkeys as HexKey rather than the Compose-bound User model, so callers without a cache (amy CLI, future Android App Functions adapter for Gemini, automation scripts) can drive follow/unfollow directly. Kind3FollowListState.follow/unfollow now delegate to FollowActions, preserving the existing Account.follow(user) signature on Android. Behavior is unchanged for UI callers. Wires up amy follow/unfollow as the first consumer — fetches the freshest kind:3 from outbox relays before mutating so concurrent follows from another client are preserved.