mirror of
https://github.com/thewesker/twitter_ebooks.git
synced 2025-12-20 04:11:08 -05:00
Send user ID array with on_connect.
This would be useful for people who might want to do some follow list processing without using an extra requests (i.e. to compare with a list of followers)
This commit is contained in:
@@ -252,7 +252,7 @@ module Ebooks
|
|||||||
case ev
|
case ev
|
||||||
when Array # Initial array sent on first connection
|
when Array # Initial array sent on first connection
|
||||||
log "Online!"
|
log "Online!"
|
||||||
fire(:connect)
|
fire(:connect, ev)
|
||||||
return
|
return
|
||||||
when Twitter::DirectMessage
|
when Twitter::DirectMessage
|
||||||
return if ev.sender.id == @user.id # Don't reply to self
|
return if ev.sender.id == @user.id # Don't reply to self
|
||||||
|
|||||||
Reference in New Issue
Block a user