From 05009bcbfb1acb6430a04f9bd4cf875217b90dd5 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 12 Jan 2026 16:03:03 +0000 Subject: [PATCH] fix: remove unused content parameter Mark content parameter as unused with underscore prefix since the function is a placeholder for future enhancement. --- src/lib/thread-builder.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/lib/thread-builder.ts b/src/lib/thread-builder.ts index 69f88c8..1b46e87 100644 --- a/src/lib/thread-builder.ts +++ b/src/lib/thread-builder.ts @@ -177,13 +177,10 @@ export function buildThreadTags( * @param content - Message content with nostr:npub... mentions * @returns Array of pubkeys mentioned in content */ -export function extractMentionsFromContent(content: string): string[] { - const mentionRegex = /nostr:npub1[a-z0-9]{58}/g; - const matches = content.match(mentionRegex) || []; - +export function extractMentionsFromContent(_content: string): string[] { const pubkeys = new Set(); - // TODO: decode npub to pubkey from matches + // TODO: decode npub to pubkey from content // The MentionEditor already handles encoding, so we can extract from tags instead // This function is a placeholder for future enhancement