about summary refs log tree commit diff
path: root/app/services/activitypub
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-12-13 14:52:29 -0600
committermultiple creatures <dev@multiple-creature.party>2019-12-13 14:52:29 -0600
commit026b0626cf60c02917f279923e13e5713310206e (patch)
tree198e24a35ac9f4562e680ee0de424fb219cd2473 /app/services/activitypub
parent4b0612c11db1ff2f2206b23d16586f6c3c31e2af (diff)
sync with `on_behalf_of` + bump max pages
Diffstat (limited to 'app/services/activitypub')
-rw-r--r--app/services/activitypub/fetch_account_statuses_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/activitypub/fetch_account_statuses_service.rb b/app/services/activitypub/fetch_account_statuses_service.rb
index 5e0be233e..d9d8266fa 100644
--- a/app/services/activitypub/fetch_account_statuses_service.rb
+++ b/app/services/activitypub/fetch_account_statuses_service.rb
@@ -4,7 +4,7 @@ class ActivityPub::FetchAccountStatusesService < BaseService
   include JsonLdHelper
   include Redisable
 
-  MAX_PAGES = 50
+  MAX_PAGES = 100
 
   def call(account, url = nil)
     @account = account
@@ -73,7 +73,7 @@ class ActivityPub::FetchAccountStatusesService < BaseService
   def _fetch_collection(collection_or_uri)
     return collection_or_uri if collection_or_uri.is_a?(Hash)
     return if invalid_origin?(collection_or_uri)
-    fetch_resource_without_id_validation(collection_or_uri, nil, true)
+    fetch_resource_without_id_validation(collection_or_uri, @account.followers.local.first, false)
   end
 
   def collection_items(collection)