mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-07 19:05:08 +01:00
rm allow_synchronous_requests param, since it always needs to be true
This commit is contained in:
parent
a7b0661d56
commit
1e54bf6ff2
@ -6,8 +6,8 @@ class ActivityPub::FetchAllRepliesService < ActivityPub::FetchRepliesService
|
|||||||
# Limit of replies to fetch per status
|
# Limit of replies to fetch per status
|
||||||
MAX_REPLIES = (ENV['FETCH_REPLIES_MAX_SINGLE'] || 500).to_i
|
MAX_REPLIES = (ENV['FETCH_REPLIES_MAX_SINGLE'] || 500).to_i
|
||||||
|
|
||||||
def call(collection_or_uri, max_pages = nil, allow_synchronous_requests: true, request_id: nil)
|
def call(collection_or_uri, max_pages = nil, request_id: nil)
|
||||||
@allow_synchronous_requests = allow_synchronous_requests
|
@allow_synchronous_requests = true
|
||||||
@filter_by_host = false
|
@filter_by_host = false
|
||||||
@collection_or_uri = collection_or_uri
|
@collection_or_uri = collection_or_uri
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user