Add a Switch control next to the relay selector for users to explicitly
enable/disable NIP-70 protected events. Auto-enables when relay
conditions suggest it (no optimal relays), but respects user override.
Includes a help popover explaining protected events with a note that
not all relays support them.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Display a subtle green "Protected" badge next to the username for
events with the `-` tag (NIP-70), indicating restricted distribution.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace hardcoded SEARCHABLE_RELAY_URLS with user-configurable search
relays stored in localStorage. Add SearchRelaysSetting UI in System
settings page with add/remove/reset functionality.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add a toggle in General Settings to enable/disable video loop playback,
following the same pattern as the existing autoplay setting.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* fix: show 'Encrypted direct messages not supported' for kind 4 events (#753)
Co-authored-by: The Daniel <dmnyc@users.noreply.github.com>
* i18n: add translations for 'Encrypted direct messages not supported'
Also use kinds.EncryptedDirectMessage constant instead of magic number 4.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: The Daniel 🖖 <3638467+dmnyc@users.noreply.github.com>
Co-authored-by: The Daniel <dmnyc@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Add a "Copy note content" option to the note options menu that copies the
event's content field to clipboard. Merge AGENTS.md into CLAUDE.md with
enhanced i18n rules emphasizing append-only locale key ordering.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>