# XMPP4r helper class

**URL:** <https://www.ruby-forum.com/t/xmpp4r-helper-class/154393>\
**Category:** Ruby\
**Created:** [November 28, 2008, 4:34pm UTC](https://www.ruby-forum.com/t/xmpp4r-helper-class/154393 "2008-11-28T16:34:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kula](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/b487fb/32.png) [@kula](https://www.ruby-forum.com/u/kula)\
**Post date:** [November 28, 2008, 4:34pm UTC](https://www.ruby-forum.com/t/xmpp4r-helper-class/154393/1 "2008-11-28T16:34:36Z")

</div>

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

rec = Roster::Helper::RosterItem.new(‘removed\_email\_address@domain.invalid’).online?

I’m always receiving negative answer?
