Hi,
I have a very simple application where i sent a chat message to my
application and check if user is available.But i am always getting as
false.
here is my code.
XMPPService xmpp = XMPPServiceFactory.getXMPPService();
Message message = xmpp.parseMessage(req);
JID fromJid = message.getFromJid();
Presence p=xmpp.getPresence(fromJid);
String status =p.isAvailable().toString();
I am getting status as false always.
I even tried with fromJid.getId() to get user status but i get the
same result.
i tried with gmail chat and gtalk both.I can see my bot in my contact
lists with available sign.
is there any way to get the correct status or am i missing anything
here.....
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.