about summary refs log tree commit diff
path: root/app/lib/activitypub
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-02-17 15:43:12 +0100
committerThibaut Girka <thib@sitedethib.com>2019-02-17 15:43:12 +0100
commitf6a4493a587ae7b5cf1bdf8805c973739b4411ea (patch)
tree370ceaf617e5b8449dcfd040c7d87d1548c62346 /app/lib/activitypub
parentec18359c3d1996d3bb4676b826bceda88f5a535f (diff)
parent1a1b8170bbb1e8cfd5591a8ea8085de41fa90cc5 (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/lib/activitypub')
-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