Remove commented-out code for filtering pTags in useNotifications hook

This commit is contained in:
2025-11-27 22:52:56 +01:00
parent dce3859800
commit 94058ded07

View File

@@ -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