mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-19 13:23:13 +00:00
parent
cfa68907ae
commit
3888a12c79
|
@ -11,7 +11,7 @@ class ActivityPub::FetchRemoteStatusService < BaseService
|
||||||
body_to_json(prefetched_body)
|
body_to_json(prefetched_body)
|
||||||
end
|
end
|
||||||
|
|
||||||
return unless expected_type? && supported_context?
|
return unless supported_context? && expected_type?
|
||||||
|
|
||||||
return if actor_id.nil? || !trustworthy_attribution?(@json['id'], actor_id)
|
return if actor_id.nil? || !trustworthy_attribution?(@json['id'], actor_id)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue