mirror of
https://github.com/lumina-rocks/lumina.git
synced 2026-06-04 09:41:32 +02:00
Remove commented-out code for filtering pTags in useNotifications hook
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user