Skip to content
Snippets Groups Projects
Commit 74c1c9ec authored by puckipedia's avatar puckipedia Committed by Eugen Rochko
Browse files

Allow attributedTo in a status to be an embedded object (#6238)

parent 537d2939
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ class ActivityPub::FetchRemoteStatusService < BaseService
end
def actor_id
first_of_value(@json['attributedTo'])
value_or_id(first_of_value(@json['attributedTo']))
end
def trustworthy_attribution?(uri, attributed_to)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment