last minute fix, accidental typo that broke sending emails

This commit is contained in:
Danny Morabito 2025-04-06 00:41:17 +02:00
parent 56bc5b62a6
commit 85e9a87174
Signed by: dannym
GPG key ID: 7CC8056A5A04557E

View file

@ -202,11 +202,11 @@ async function publishNostrEvent(session: SmtpSession): Promise<boolean> {
},
});
});
tags.push([
tags.push(
...nostrEvent.tags.filter((tag) =>
tag[0] === "p" || tag[0] === "e" || tag[0] === "E"
),
]);
);
tags.push(["e", nostrEvent.id]);
}
@ -246,7 +246,7 @@ async function publishNostrEvent(session: SmtpSession): Promise<boolean> {
};
const event = finalizeEvent(
unsignedEvent as EventTemplate,
unsignedEvent,
session.privateKey,
);