Browse Source

Fix delete regression (#11450)

Regression from ff789a751a
master
Eugen Rochko 5 years ago
committed by GitHub
parent
commit
e46e9c9a8e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/lib/feed_manager.rb

+ 1
- 1
app/lib/feed_manager.rb View File

@ -303,7 +303,7 @@ class FeedManager
else else
# If the original is getting deleted, no use for reblog references # If the original is getting deleted, no use for reblog references
redis.del(key(timeline_type, account_id, "reblogs:#{status.id}")) redis.del(key(timeline_type, account_id, "reblogs:#{status.id}"))
redis.srem(reblog_key, status.id)
redis.zrem(reblog_key, status.id)
end end
redis.zrem(timeline_key, status.id) redis.zrem(timeline_key, status.id)

Loading…
Cancel
Save