New on_connect event when stream is connected.
This commit is contained in:
parent
442dcb3370
commit
c88aefece8
1 changed files with 1 additions and 0 deletions
|
@ -252,6 +252,7 @@ module Ebooks
|
|||
case ev
|
||||
when Array # Initial array sent on first connection
|
||||
log "Online!"
|
||||
fire(:connect)
|
||||
return
|
||||
when Twitter::DirectMessage
|
||||
return if ev.sender.id == @user.id # Don't reply to self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue