aki017 / slack-ruby-gem

A Ruby wrapper for the Slack API
MIT License
242 stars 79 forks source link

Real time quits when an image is recieved #56

Closed TheSimkin closed 7 years ago

TheSimkin commented 7 years ago

This one is kind of weird. When an image link is recieved by the bot the rtm just quits no errors or anything.

If I restart it, it quits again and eventually floods itself off of slack ( or if i send a new message so the last message sent isn't an image any more )

TheSimkin commented 7 years ago

i think i might have been causing this issue myself by 'returning' from inside of the real-time block!

I can no longer reproduce this bug after rubocop pointed out this issuee.

aki017 commented 7 years ago

👍