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

remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
puckipedia 2018-01-15 06:51:46 +01:00 committed by Eugen Rochko
parent 537d2939b1
commit 74c1c9ec01
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class ActivityPub::FetchRemoteStatusService < BaseService
end end
def actor_id def actor_id
first_of_value(@json['attributedTo']) value_or_id(first_of_value(@json['attributedTo']))
end end
def trustworthy_attribution?(uri, attributed_to) def trustworthy_attribution?(uri, attributed_to)