Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master

This commit is contained in:
Jenkins
2018-01-15 06:17:15 +00:00
13 changed files with 51 additions and 13 deletions

View File

@@ -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)