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

Open
beerriot wants to merge 1 commits from beerriot/akkoma:develop-no-fetch-with-local-limit into develop

1 Commits

Author SHA1 Message Date
Bryan Fink 97037c0b53 do not fetch if limit_to_local_content is enabled
ci/woodpecker/pr/woodpecker Pipeline is pending Details
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