Allow attributedTo in a status to be an embedded object (#6238)
This commit is contained in:
parent
2a27afc656
commit
87dd003ea5
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue