mirror of
https://github.com/mastodon/mastodon.git
synced 2026-09-29 11:39:36 -05:00
Allow attributedTo in a status to be an embedded object (#6238)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user