Change Redis#exists calls to Redis#exists? to avoid deprecation warning (#14191)
This commit is contained in:
@ -169,7 +169,7 @@ class FeedManager
|
||||
private
|
||||
|
||||
def push_update_required?(timeline_id)
|
||||
redis.exists("subscribed:#{timeline_id}")
|
||||
redis.exists?("subscribed:#{timeline_id}")
|
||||
end
|
||||
|
||||
def blocks_or_mutes?(receiver_id, account_ids, context)
|
||||
|
Reference in New Issue
Block a user