in reply to Getting gtalk user status using Net XMPP
can get the list of my entire roster but not the status of a particular buddy.
Maybe that buddy is not in your roster?
what am i doing wrong here ? $user is undef !!
It appears you're not reading the fine manual (Net::XMPP::Roster), online returns undef when a user is not online
Try Dumper-ing the results of query my %hash = $Roster->query('bob@jabber.org');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Getting gtalk user status using Net XMPP
by hello_world (Acolyte) on Feb 26, 2012 at 10:47 UTC | |
by Anonymous Monk on Feb 26, 2012 at 11:05 UTC |