fix: don't stream global feed in notifications tab (#207)
This commit is contained in:
parent
79008c5fc4
commit
c928beb174
@ -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;
|
||||
|
@ -16,9 +16,13 @@ export default function NotificationsPage() {
|
||||
|
||||
return (
|
||||
<>
|
||||
{pubkey ?
|
||||
<Timeline subject={{ type: "ptag", items: [pubkey!], discriminator: pubkey!.slice(0, 12) }} postsOnly={false} method={"TIME_RANGE"} />
|
||||
: null}
|
||||
{pubkey && (
|
||||
<Timeline
|
||||
subject={{ type: "ptag", items: [pubkey!], discriminator: pubkey!.slice(0, 12) }}
|
||||
postsOnly={false}
|
||||
method={"TIME_RANGE"}
|
||||
/>
|
||||
)}
|
||||
</>
|
||||
)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user