Fix global

This commit is contained in:
2023-01-16 18:24:14 +00:00
parent 6bfecd9d07
commit bd39675453
2 changed files with 17 additions and 17 deletions

View File

@ -17,7 +17,7 @@ export default function useTimelineFeed(pubKeys: HexKey | Array<HexKey>, global:
let sub = new Subscriptions();
sub.Id = `timeline:${subTab}`;
sub.Authors = new Set(global ? [] : pubKeys);
sub.Authors = global ? undefined : new Set(pubKeys);
sub.Kinds = new Set([EventKind.TextNote, EventKind.Repost]);
sub.Limit = 20;