XMPP4r helper class

can anybody explain me why when I’m trying to check if contact is online
using this code:

rec = Roster::Helper::RosterItem.new(‘[email protected]’).online?

I’m always receiving negative answer?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs