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:
thePR0M3TH3AN authored and GitHub committed 2026-01-06 13:48:56 -05:00
commit 2537296f67
1 file changed
+2 -2
+2 -2
View File
@@ -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) {