Count of Users Subscribing to Channels

20 views
Skip to first unread message

DeepalC

unread,
Dec 6, 2011, 11:52:44 PM12/6/11
to Juggernaut 2, batra...@gmail.com
Hi,

I am using Juggernaut 2 for my chat platform. Is there a way to get a
count of the users currently subscribed to a given channel without
listening to the events as in the Roster example? It seems like it
may be as simple as querying the Redis store, but I'm not sure how to
do that.

Thanks in advance,
Deepal

Alex MacCaw

unread,
Dec 7, 2011, 4:00:42 AM12/7/11
to juggernaut...@googlegroups.com, batra...@gmail.com
Deepal,

Nope, you have to subscribe to the events - they're not stored anywhere in redis. 

Alex


--
You received this message because you are subscribed to the Google Groups "Juggernaut 2" group.
To post to this group, send email to juggernaut...@googlegroups.com.
To unsubscribe from this group, send email to juggernaut-for-r...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/juggernaut-for-rails?hl=en.




--
Alex MacCaw

+12147175129
@maccman

http://alexmaccaw.co.uk
Reply all
Reply to author
Forward
0 new messages