JID in RosterItem
From: Karim Bernardet <karim.bernardet@xxxxxxxxx>
Date: Fri, 02 Jun 2006 16:16:16 +0200

Hi

I am using a roster in a code (to know when a contact has disconnected)

void myClient::itemUnavailable( const RosterItem& item, const std::string& /*msg*/ )
{
         printf( "item offline: %s\n", item.jid().c_str() );
....
} My problem is that the JID which is in the RosterItem only has username@server and not username@server/resource and I have to know the resource. Is there a way to have this information using a roster ?

Thanks

Karim



--
gloox-dev mailing list
to unsubscribe:
send a message with subject 'unsubscribe gloox-dev' to minimalist@xxxxxxxxxx