DM's #54

Merged
v0l merged 9 commits from dms into main 2023-01-14 12:27:50 +00:00
Showing only changes of commit f4dca89c05 - Show all commits

View File

@ -179,8 +179,8 @@ export default function useEventPublisher() {
try {
if (hasNip07 && !privKey) {
let content = await barierNip07(() => window.nostr.nip04.encrypt(to, content));
ev.Content = content;
let cx = await barierNip07(() => window.nostr.nip04.encrypt(to, content));
ev.Content = cx;
return await signEvent(ev);
} else if(privKey) {
await ev.EncryptDmForPubkey(to, privKey);