From 49d5aa448748189719503c2062ae04c59c20378e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Fri, 25 Oct 2024 18:01:03 +0200 Subject: [PATCH] Add author pubkey to feed entry IDs --- feeds.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feeds.ts b/feeds.ts index 9ddd54a..6a4332c 100644 --- a/feeds.ts +++ b/feeds.ts @@ -14,7 +14,7 @@ export async function profileAtomFeed( for (const article of articles) { const contentHtml = await article.buildContentHtml(); const articleId = - `tag:${profile.nip05},nostr-d-${article.identifier}-k-30023`; + `tag:${profile.nip05},nostr-p-${profile.pubkey}-d-${article.identifier}-k-30023`; articlesXml += ` ${articleId}