From 026b0626cf60c02917f279923e13e5713310206e Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Fri, 13 Dec 2019 14:52:29 -0600 Subject: sync with `on_behalf_of` + bump max pages --- app/services/activitypub/fetch_account_statuses_service.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/services') 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) -- cgit