about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-02-17 15:16:36 +0100
committerGitHub <noreply@github.com>2019-02-17 15:16:36 +0100
commit1a1b8170bbb1e8cfd5591a8ea8085de41fa90cc5 (patch)
tree24fef7cc84a45017bd6f8c44fa20390e49977f38 /app
parent147b4c2c3afacd6ad9d5c1353c072861eaca5fd2 (diff)
Fix Announce activities of unknown statuses not fetching those statuses (#10065)
Regression from #9998
Diffstat (limited to 'app')
-rw-r--r--app/lib/activitypub/activity.rb3
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