diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-02-17 15:16:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-17 15:16:36 +0100 |
commit | 1a1b8170bbb1e8cfd5591a8ea8085de41fa90cc5 (patch) | |
tree | 24fef7cc84a45017bd6f8c44fa20390e49977f38 /app/lib/activitypub | |
parent | 147b4c2c3afacd6ad9d5c1353c072861eaca5fd2 (diff) |
Fix Announce activities of unknown statuses not fetching those statuses (#10065)
Regression from #9998
Diffstat (limited to 'app/lib/activitypub')
-rw-r--r-- | app/lib/activitypub/activity.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/lib/activitypub/activity.rb b/app/lib/activitypub/activity.rb index 8265810a0..11fa3363a 100644 --- a/app/lib/activitypub/activity.rb +++ b/app/lib/activitypub/activity.rb @@ -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 |