Commit 13f33e8c authored by Günther Niess's avatar Günther Niess Committed by niess

OF-346: Fix packet namespaces for Http-Bind

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@11617 b35dd754-fafc-0310-a699-88a17e54d16e
parent 6dda669f
......@@ -1036,6 +1036,11 @@ public class HttpSession extends LocalClientSession {
this.text = null;
this.packets = new ArrayList<String>();
for (Packet packet : elements) {
if (packet instanceof Presence ||
packet instanceof Message ||
packet instanceof IQ) {
packet.getElement().addNamespace("", "jabber:client");
}
this.packets.add(packet.toXML());
}
}
......
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