Fix delete regression (#11450)

Regression from 1848f7fae4
This commit is contained in:
Eugen Rochko 2019-07-31 09:23:30 +02:00 committed by GitHub
parent b92e18080a
commit e674fd3eab

View file

@ -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)