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

Regression from #9998
This commit is contained in:
Eugen Rochko authored and GitHub committed 2019-02-17 15:16:36 +01:00
1 parent 147b4c2c3a
commit 1a1b8170bb
2 files changed
+32 -14

No files matched your search

+1 -2
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