about summary refs log tree commit diff
path: root/app/lib/activitypub
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2020-11-09 10:53:53 +0100
committerThibaut Girka <thib@sitedethib.com>2020-11-09 10:53:53 +0100
commitecd83f495c18486bc7ea901423f6fccfd910b277 (patch)
treeb718c8b54a0bd63eab69abaef2267c8f0aa9a9b9 /app/lib/activitypub
parent0437d70628bcd852c303432562c74202554fe9cb (diff)
parent2b63c62c57b431074c7b91e195cabf94a0db7a10 (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'app/lib/activitypub')
-rw-r--r--app/lib/activitypub/activity/move.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/lib/activitypub/activity/move.rb b/app/lib/activitypub/activity/move.rb
index 2103f503f..7e073f64d 100644
--- a/app/lib/activitypub/activity/move.rb
+++ b/app/lib/activitypub/activity/move.rb
@@ -20,6 +20,9 @@ class ActivityPub::Activity::Move < ActivityPub::Activity
 
     # Initiate a re-follow for each follower
     MoveWorker.perform_async(origin_account.id, target_account.id)
+  rescue
+    unmark_as_processing!
+    raise
   end
 
   private