diff options
author | Claire <claire.github-309c@sitedethib.com> | 2023-02-10 22:49:59 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2023-02-10 22:49:59 +0100 |
commit | 87419f9307f54755af4604876ac149262ae3f0a6 (patch) | |
tree | 5b6d56d248379823660d70dc35c95e4c547f43ea /app/services/resolve_url_service.rb | |
parent | 4ceadc65b08cf4641c68b0b97b269f66c481ef50 (diff) | |
parent | 61c5dfb9295ea66c376c452a7ef7379e8c562416 (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'app/services/resolve_url_service.rb')
-rw-r--r-- | app/services/resolve_url_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/resolve_url_service.rb b/app/services/resolve_url_service.rb index 52f35daf3..d8e795f3b 100644 --- a/app/services/resolve_url_service.rb +++ b/app/services/resolve_url_service.rb @@ -25,7 +25,7 @@ class ResolveURLService < BaseService if equals_or_includes_any?(type, ActivityPub::FetchRemoteActorService::SUPPORTED_TYPES) ActivityPub::FetchRemoteActorService.new.call(resource_url, prefetched_body: body) elsif equals_or_includes_any?(type, ActivityPub::Activity::Create::SUPPORTED_TYPES + ActivityPub::Activity::Create::CONVERTED_TYPES) - status = FetchRemoteStatusService.new.call(resource_url, body) + status = FetchRemoteStatusService.new.call(resource_url, prefetched_body: body) authorize_with @on_behalf_of, status, :show? unless status.nil? status end |