0
0
Fork 0

Fix Announce activities of unknown statuses not fetching those statuses (#10065)

Regression from #9998
This commit is contained in:
Eugen Rochko 2019-02-17 15:16:36 +01:00 committed by GitHub
parent 147b4c2c3a
commit 1a1b8170bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 14 deletions

View file

@ -150,8 +150,7 @@ class ActivityPub::Activity
end
end
# If the status is not from the actor, try to fetch it
return fetch_remote_original_status if value_or_id(first_of_value(@json['attributedTo'])) == @account.uri
fetch_remote_original_status
end
def fetch_remote_original_status