Fix arg order for non_matching_uri_hosts? call in QuoteRequest (#37425)
This commit is contained in:
parent
48ce49260d
commit
b35b3a8bcc
@ -47,7 +47,7 @@ class ActivityPub::Activity::QuoteRequest < ActivityPub::Activity
|
|||||||
# NOTE: Replacing the object's context by that of the parent activity is
|
# NOTE: Replacing the object's context by that of the parent activity is
|
||||||
# not sound, but it's consistent with the rest of the codebase
|
# not sound, but it's consistent with the rest of the codebase
|
||||||
instrument = @json['instrument'].merge({ '@context' => @json['@context'] })
|
instrument = @json['instrument'].merge({ '@context' => @json['@context'] })
|
||||||
return if non_matching_uri_hosts?(instrument['id'], @account.uri)
|
return if non_matching_uri_hosts?(@account.uri, instrument['id'])
|
||||||
|
|
||||||
ActivityPub::FetchRemoteStatusService.new.call(instrument['id'], prefetched_body: instrument, on_behalf_of: quoted_status.account, request_id: @options[:request_id])
|
ActivityPub::FetchRemoteStatusService.new.call(instrument['id'], prefetched_body: instrument, on_behalf_of: quoted_status.account, request_id: @options[:request_id])
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user