From 94058ded072fb065f6302f5e137e4cb391a2e57f Mon Sep 17 00:00:00 2001 From: highperfocused Date: Thu, 27 Nov 2025 22:52:56 +0100 Subject: [PATCH] Remove commented-out code for filtering pTags in useNotifications hook --- src/hooks/useNotifications.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useNotifications.ts b/src/hooks/useNotifications.ts index 3378d82..8eaebf8 100644 --- a/src/hooks/useNotifications.ts +++ b/src/hooks/useNotifications.ts @@ -83,7 +83,7 @@ export function useNotifications() { targetEventId = event.tags.find(([name]) => name === 'e')?.[1]; } else if (event.kind === 1) { // Check if it's a mention or a reply - const pTags = event.tags.filter(([name]) => name === 'p'); + // const pTags = event.tags.filter(([name]) => name === 'p'); const eTags = event.tags.filter(([name]) => name === 'e'); // If it has e-tags, it might be a reply to user's content