about summary refs log tree commit diff
path: root/app/controllers/activitypub/collections_controller.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-05-04 19:19:11 +0200
committerGitHub <noreply@github.com>2018-05-04 19:19:11 +0200
commit2c1f7b2ece96c724f6230352974d4282ac51dfd5 (patch)
tree4d23240183d1568391150440c3d78bf97c1f03b3 /app/controllers/activitypub/collections_controller.rb
parentd181aad03387b87b5cb82867f8efb3b635093f11 (diff)
Better pagination for ActivityPub outbox (#7356)
Diffstat (limited to 'app/controllers/activitypub/collections_controller.rb')
-rw-r--r--app/controllers/activitypub/collections_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/activitypub/collections_controller.rb b/app/controllers/activitypub/collections_controller.rb
index 081914016..96bf901a7 100644
--- a/app/controllers/activitypub/collections_controller.rb
+++ b/app/controllers/activitypub/collections_controller.rb
@@ -22,7 +22,7 @@ class ActivityPub::CollectionsController < Api::BaseController
   end
 
   def set_statuses
-    @statuses = scope_for_collection.paginate_by_max_id(20, params[:max_id], params[:since_id])
+    @statuses = scope_for_collection
     @statuses = cache_collection(@statuses, Status)
   end