diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-09-20 22:52:50 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-09-20 23:07:30 -0500 |
commit | 64694de343737360e797a92a0a6c0e88695facda (patch) | |
tree | e31a8d7eb5cb909be89df96e8185b20183ed5a22 /app/models/public_feed.rb | |
parent | e3cb18ba7520997a0f605c7f90db258ccccd5e33 (diff) |
Monsterfork v1-style curated Federated timeline
Diffstat (limited to 'app/models/public_feed.rb')
-rw-r--r-- | app/models/public_feed.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/models/public_feed.rb b/app/models/public_feed.rb index 2839da5cb..afde8aa65 100644 --- a/app/models/public_feed.rb +++ b/app/models/public_feed.rb @@ -26,7 +26,8 @@ class PublicFeed < Feed scope.merge!(without_replies_scope) unless with_replies? scope.merge!(without_reblogs_scope) unless with_reblogs? scope.merge!(local_only_scope) if local_only? - scope.merge!(remote_only_scope) if remote_only? + #scope.merge!(remote_only_scope) if remote_only? + scope.merge!(curated_scope) unless remote_only? scope.merge!(account_filters_scope) if account? scope.merge!(media_only_scope) if media_only? @@ -79,6 +80,10 @@ class PublicFeed < Feed Status.remote end + def curated_scope + Status.curated + end + def without_replies_scope Status.without_replies end |