diff --git a/src/pipeline.ts b/src/pipeline.ts index 5549193c..e5f6a216 100644 --- a/src/pipeline.ts +++ b/src/pipeline.ts @@ -252,6 +252,10 @@ async function webPush(event: NostrEvent): Promise { .execute(); for (const row of rows) { + if (row.pubkey === event.pubkey) { + continue; // Don't notify authors about their own events. + } + const notification = await renderNotification(event, { viewerPubkey: row.pubkey }); if (!notification) { continue;