Commit bdc24f8c authored by Robin Collier's avatar Robin Collier Committed by rcollier

OF-13 ID is now set to node id

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@11279 b35dd754-fafc-0310-a699-88a17e54d16e
parent 276e6a0d
...@@ -726,12 +726,11 @@ public abstract class Node { ...@@ -726,12 +726,11 @@ public abstract class Node {
// Build packet to broadcast to subscribers // Build packet to broadcast to subscribers
Message message = new Message(); Message message = new Message();
Element event = message.addChildElement("event", "http://jabber.org/protocol/pubsub#event"); Element event = message.addChildElement("event", "http://jabber.org/protocol/pubsub#event");
Element items = event.addElement("items"); Element config = event.addElement("configuration");
items.addAttribute("node", nodeID); config.addAttribute("node", nodeID);
Element item = items.addElement("item");
item.addAttribute("id", "configuration");
if (deliverPayloads) { if (deliverPayloads) {
item.add(getConfigurationChangeForm().getElement()); config.add(getConfigurationChangeForm().getElement());
} }
// Send notification that the node configuration has changed // Send notification that the node configuration has changed
broadcastNodeEvent(message, false); broadcastNodeEvent(message, false);
......
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