Hide follower events from notifications list, fix article bookmark tab

Follower notifications (kind 3) now only appear in the Follows
badge, not in the Notifications list where they were confusing
since clicking them shows a contact list, not a note.

Articles bookmarked via e-tag (pre-fix) now correctly appear
under the Articles tab instead of Notes.
This commit is contained in:
Jure
2026-03-30 08:27:26 +02:00
parent 6ed0b50d33
commit a507841292
3 changed files with 29 additions and 10 deletions
@@ -18,7 +18,7 @@ export function NotificationsView() {
} = useNotificationsStore();
const { mutedPubkeys, contentMatchesMutedKeyword } = useMuteStore();
const filteredNotifications = notifications.filter(
(e) => e.pubkey !== pubkey && !mutedPubkeys.includes(e.pubkey) && !contentMatchesMutedKeyword(e.content)
(e) => e.kind !== 3 && e.pubkey !== pubkey && !mutedPubkeys.includes(e.pubkey) && !contentMatchesMutedKeyword(e.content)
);
useEffect(() => {