Guys!
I m developing a plugin to intercept precense, i need to the specified jid subscribe to the corresponding node, but how i can do it?
e.g
if (incoming && !processed) {// String statusStr=presence.getStatus();
if("fztest".equals(statusStr)){
String jid=presence.getFrom();
PubSubService ps=XMPPServer.getInstance().getPubSubModule();
Node node=ps.getNode("fztest");
//but how to subscribe the node?
any help is welcome