about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-07-31 09:23:30 +0200
committerGitHub <noreply@github.com>2019-07-31 09:23:30 +0200
commite46e9c9a8ec047825712e1ffa80d179facfb78e0 (patch)
tree57ff45b0255f3171a778b379ffd0203bc4219024
parent92de439c04785530ce15f55cae18590136c75216 (diff)
Fix delete regression (#11450)
Regression from ff789a751a1c730e4d808410411196b76caff39c
-rw-r--r--app/lib/feed_manager.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/feed_manager.rb b/app/lib/feed_manager.rb
index 482b64867..ca3d890a8 100644
--- a/app/lib/feed_manager.rb
+++ b/app/lib/feed_manager.rb
@@ -303,7 +303,7 @@ class FeedManager
     else
       # If the original is getting deleted, no use for reblog references
       redis.del(key(timeline_type, account_id, "reblogs:#{status.id}"))
-      redis.srem(reblog_key, status.id)
+      redis.zrem(reblog_key, status.id)
     end
 
     redis.zrem(timeline_key, status.id)