Change Redis#exists calls to Redis#exists? to avoid deprecation warning (#14191)
This commit is contained in:
@ -108,7 +108,7 @@ class AccountConversation < ApplicationRecord
|
||||
end
|
||||
|
||||
def subscribed_to_timeline?
|
||||
Redis.current.exists("subscribed:#{streaming_channel}")
|
||||
Redis.current.exists?("subscribed:#{streaming_channel}")
|
||||
end
|
||||
|
||||
def streaming_channel
|
||||
|
Reference in New Issue
Block a user