Commit dcbe31a8 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Changed <entity/> element to <subscription/> element in response to subscription. JM-815

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@5131 b35dd754-fafc-0310-a699-88a17e54d16e
parent 98be4830
......@@ -763,7 +763,7 @@ public class NodeSubscription {
void sendSubscriptionState(IQ originalRequest) {
IQ result = IQ.createResultIQ(originalRequest);
Element child = result.setChildElement("pubsub", "http://jabber.org/protocol/pubsub");
Element entity = child.addElement("entity");
Element entity = child.addElement("subscription");
if (!node.isRootCollectionNode()) {
entity.addAttribute("node", node.getNodeID());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment