about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/activitypub/activity/create.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/activitypub/activity/create.rb b/app/lib/activitypub/activity/create.rb
index 6ba417b3d..c5376ed95 100644
--- a/app/lib/activitypub/activity/create.rb
+++ b/app/lib/activitypub/activity/create.rb
@@ -54,7 +54,7 @@ class ActivityPub::Activity::Create < ActivityPub::Activity
     inboxes = [@account.inbox_url, @account.preferred_inbox_url, @account.shared_inbox_url].uniq
     inboxes.each do |inbox|
       Redis.current.del("exhausted_deliveries:#{inbox}")
-      Redis.current.srem(inbox)
+      Redis.current.srem('unavailable_inboxes', inbox)
     end
   end