do not fetch if :limit_to_local_content is :all or :unauthenticated #582

Merged
floatingghost merged 1 commit from beerriot/akkoma:develop-no-fetch-with-local-limit into develop 2025-01-05 15:39:14 +00:00

1 commit

Author SHA1 Message Date
97037c0b53 do not fetch if limit_to_local_content is enabled
Some checks are pending
ci/woodpecker/pr/woodpecker Pipeline is pending
ci/woodpecker/pull_request_closed/woodpecker Pipeline is pending approval
Prior to this change, anyone, authenticated or not, could submit a search
query for an activity by URL, and cause the fetcher to go fetch it. That
shouldn't happen if `limit_to_local_content` is set to `:all` or if it's
set to `:unauthenticated` and the query came from an unauthenticated
source.
2023-07-07 12:24:04 -05:00