forked from Kieran/snort
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();
|
let latestSub = new Subscriptions();
|
||||||
latestSub.Authors = sub.Authors;
|
latestSub.Authors = sub.Authors;
|
||||||
latestSub.HashTags = sub.HashTags;
|
latestSub.HashTags = sub.HashTags;
|
||||||
|
latestSub.PTags = sub.PTags;
|
||||||
latestSub.Kinds = sub.Kinds;
|
latestSub.Kinds = sub.Kinds;
|
||||||
latestSub.Search = sub.Search;
|
latestSub.Search = sub.Search;
|
||||||
latestSub.Limit = 1;
|
latestSub.Limit = 1;
|
||||||
|
@ -16,9 +16,13 @@ export default function NotificationsPage() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{pubkey ?
|
{pubkey && (
|
||||||
<Timeline subject={{ type: "ptag", items: [pubkey!], discriminator: pubkey!.slice(0, 12) }} postsOnly={false} method={"TIME_RANGE"} />
|
<Timeline
|
||||||
: null}
|
subject={{ type: "ptag", items: [pubkey!], discriminator: pubkey!.slice(0, 12) }}
|
||||||
|
postsOnly={false}
|
||||||
|
method={"TIME_RANGE"}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user