mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-01 18:32:27 +00:00
Defer NIP-07 encryption permissions
This commit is contained in:
1 parent
0e9f9204a1
commit
abdfa4b68b
9 files changed
+117
-31
No files matched your search
@@ -1520,6 +1520,8 @@ export default class MoreMenuController {
|
||||
const message =
|
||||
error?.code === "nip04-missing"
|
||||
? "Your Nostr extension must support NIP-04 to manage private lists."
|
||||
: error?.code === "extension-encryption-permission-denied"
|
||||
? "Your Nostr extension must allow encryption to update your block list."
|
||||
: "Failed to update your block list. Please try again.";
|
||||
this.callbacks.showError(message);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user