From 01f82aa554a98771e91eaeb9cfe2df70d06b384d Mon Sep 17 00:00:00 2001 From: liminal Date: Sun, 20 Jul 2025 02:15:08 +0000 Subject: [PATCH] Apply suggested change from code comment --- src/lib/utils/profileCache.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/utils/profileCache.ts b/src/lib/utils/profileCache.ts index bb5dbec..2a93a45 100644 --- a/src/lib/utils/profileCache.ts +++ b/src/lib/utils/profileCache.ts @@ -216,7 +216,7 @@ export function replaceContentPubkeys(content: string): string { if (!content) return content; // Replace nostr:npub1... references - const npubPattern = /nostr:npub1[a-z0-9]{58}/g; + const npubPattern = /nostr:npub[a-z0-9]{58}/g; let result = content; const matches = content.match(npubPattern) || [];