lib/slack/real_time/client.rb in slack-ruby-client-0.9.1 vs lib/slack/real_time/client.rb in slack-ruby-client-0.10.0
- old
+ new
@@ -115,10 +115,10 @@
end
def rtm_start_method
if start_method
start_method
- elsif @store_class == Slack::RealTime::Stores::Store
+ elsif @store_class && @store_class <= Slack::RealTime::Stores::Store
:rtm_start
else
:rtm_connect
end
end