mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
The NIP-07 adapter uses type "nip07" but all permission pre-granting checks only matched type "extension", causing NIP-07 browser extension users to fail decryption for block/mute lists, subscriptions, DMs, and watch history. Hashtag preferences appeared to work because their read path had a separate fix, masking the systemic issue. Changes: - shouldRequestExtensionPermissions() now matches both "extension" and "nip07" signer types (central fix affecting DM signals, comments, publish helpers, and watch history fetch) - buildDmDecryptContext() pre-grants extension permissions for NIP-07 - userBlocks.js: remove capabilities-gated decryptor check that failed with lazy NIP-07 module injection (same fix already in subscriptions.js); always resolve signer regardless of allowPermissionPrompt; increase fast-path relay timeout from 6s to 10s - watchHistoryService: recognize NIP-07 type and always resolve signer - All publish paths (blocks, subscriptions, hashtags, relays, uploads, sharing, moderation) now pre-grant permissions for NIP-07 signers https://claude.ai/code/session_01PipsdaTQmw7wBTJ1LmJjkk