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

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

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
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