mirror of
https://github.com/hoornet/vega.git
synced 2026-06-30 22:09:00 -07:00
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:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user