last minute fix, accidental typo that broke sending emails
This commit is contained in:
parent
56bc5b62a6
commit
85e9a87174
1 changed files with 3 additions and 3 deletions
|
@ -202,11 +202,11 @@ async function publishNostrEvent(session: SmtpSession): Promise<boolean> {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
tags.push([
|
tags.push(
|
||||||
...nostrEvent.tags.filter((tag) =>
|
...nostrEvent.tags.filter((tag) =>
|
||||||
tag[0] === "p" || tag[0] === "e" || tag[0] === "E"
|
tag[0] === "p" || tag[0] === "e" || tag[0] === "E"
|
||||||
),
|
),
|
||||||
]);
|
);
|
||||||
tags.push(["e", nostrEvent.id]);
|
tags.push(["e", nostrEvent.id]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -246,7 +246,7 @@ async function publishNostrEvent(session: SmtpSession): Promise<boolean> {
|
||||||
};
|
};
|
||||||
|
|
||||||
const event = finalizeEvent(
|
const event = finalizeEvent(
|
||||||
unsignedEvent as EventTemplate,
|
unsignedEvent,
|
||||||
session.privateKey,
|
session.privateKey,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue