bug: latest feed sub fix

This commit is contained in:
Kieran 2023-01-21 23:07:43 +00:00
parent e1b6e12b05
commit eb2137b16f
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -64,7 +64,8 @@ export default function useTimelineFeed(subject: TimelineSubject, options: Timel
// copy properties of main sub but with limit 0
// this will put latest directly into main feed
let latestSub = new Subscriptions();
latestSub.Ids = sub.Ids;
latestSub.Authors = sub.Authors;
latestSub.HashTags = sub.HashTags;
latestSub.Kinds = sub.Kinds;
latestSub.Limit = 1;
sub.AddSubscription(latestSub);