@roster.items.each do |i|
  i.online?  #true if online
end

+=
Erik Elmore




On Mon, Aug 2, 2010 at 12:24 PM, iGama <[email protected]> wrote:

> Hy all!
> Sorry if this is a stupid question, but I just can't figure it out... i
> need to get a list of online users.
>
> I cant see who gets online and offline and I can get a roster list with
>
> @roster = Jabber::Roster::Helper.new(@cl)
> @roster.get_roster()
>
> and using @roster.add_query_callback
>
> but I just can see how I get to see if a user if offline or online...
>
> Any help?
>
> Thanks
>
> Marco
>
> _______________________________________________
> Xmpp4r-devel mailing list
> [email protected]
> https://mail.gna.org/listinfo/xmpp4r-devel
>
>
_______________________________________________
Xmpp4r-devel mailing list
[email protected]
https://mail.gna.org/listinfo/xmpp4r-devel

Reply via email to