From c928beb174bffb3c8ba88c126926a2d83acc3353 Mon Sep 17 00:00:00 2001 From: Alejandro Date: Mon, 6 Feb 2023 23:11:32 +0100 Subject: [PATCH] fix: don't stream global feed in notifications tab (#207) --- src/Feed/TimelineFeed.ts | 1 + src/Pages/Notifications.tsx | 10 +++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/Feed/TimelineFeed.ts b/src/Feed/TimelineFeed.ts index 958cf278..539683d6 100644 --- a/src/Feed/TimelineFeed.ts +++ b/src/Feed/TimelineFeed.ts @@ -78,6 +78,7 @@ export default function useTimelineFeed(subject: TimelineSubject, options: Timel let latestSub = new Subscriptions(); latestSub.Authors = sub.Authors; latestSub.HashTags = sub.HashTags; + latestSub.PTags = sub.PTags; latestSub.Kinds = sub.Kinds; latestSub.Search = sub.Search; latestSub.Limit = 1; diff --git a/src/Pages/Notifications.tsx b/src/Pages/Notifications.tsx index e9019bf8..40353dc1 100644 --- a/src/Pages/Notifications.tsx +++ b/src/Pages/Notifications.tsx @@ -16,9 +16,13 @@ export default function NotificationsPage() { return ( <> - {pubkey ? - - : null} + {pubkey && ( + + )} ) } \ No newline at end of file