slack-ruby / slack-ruby-client

A Ruby and command-line client for the Slack Web, Real Time Messaging and Event APIs.
MIT License
1.21k stars 214 forks source link

Fix default store missing event hooks #420

Closed kstole closed 2 years ago

kstole commented 2 years ago

The default Slack store (Slack::RealTime::Store) inherits from Slack::RealTime::Stores::Store but didn't have access to its event hooks stored in a class instance variable of the superclass. This ensures store subclasses inherit the event hooks from their inheritance chain.