mirror of
https://github.com/thewesker/twitter_ebooks.git
synced 2025-12-20 04:11:08 -05:00
New on_connect event when stream is connected.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user