mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-09 16:14:40 +00:00
When replying to a note that is a kind 1 TextNoteEvent, is the root of a new thread (no e-tags), and was itself posted from Amethyst (NIP-89 client tag), build a NIP-22 kind 1111 CommentEvent instead of a kind 1 reply. Forks keep using kind 1. Applies across all kind-1 reply paths: the Android composer (ShortNotePostViewModel), the notification quick-reply (NotificationReplyReceiver), and the desktop composer (ComposeNoteDialog). Adds Event.isClient / TagArray.isClient helpers (NIP-89, case-insensitive) with unit coverage. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V7RyevA6jL1NuY7uev2agS