This commit is contained in:
2023-04-05 11:58:26 +01:00
parent 8ef20c27b3
commit 729cbe7cbb
5 changed files with 78 additions and 29 deletions

View File

@ -58,6 +58,7 @@ export function NoteCreator(props: NoteCreatorProps) {
try {
const svc = new LNURL(zapForward);
await svc.load();
extraTags = [svc.getZapTag()];
} catch {
setError(
formatMessage({
@ -66,7 +67,6 @@ export function NoteCreator(props: NoteCreatorProps) {
);
return;
}
extraTags = [["zap", zapForward]];
}
const ev = replyTo ? await publisher.reply(replyTo, note, extraTags) : await publisher.note(note, extraTags);
console.debug("Sending note: ", ev);