mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-06 12:52:26 +00:00
Merge pull request #1094 from PR0M3TH3AN/fix-watch-history-sync-16297973671610705117
Fix watch history sync for logged-in users without NIP-04 permissions
This commit is contained in:
1 file changed
+2
-2
@@ -108,11 +108,11 @@ function shouldUseExtensionForHistory(actorKey) {
|
||||
}
|
||||
|
||||
const extension = window.nostr;
|
||||
if (!extension || !extension.nip04) {
|
||||
if (!extension) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return typeof extension.nip04.decrypt === "function";
|
||||
return typeof extension.signEvent === "function";
|
||||
}
|
||||
|
||||
async function ensureWatchHistoryExtensionPermissions(actorKey) {
|
||||
|
||||
Reference in new issue
Block a user