Commit 1cddf4bc authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Return service unavailable for non-supported iq requests (like vcard) instead...

Return service unavailable for non-supported iq requests (like vcard) instead of bad request.  (bad request implies actual poorly sent request)

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@7143 b35dd754-fafc-0310-a699-88a17e54d16e
parent 16a06465
......@@ -439,7 +439,7 @@ public abstract class BaseTransport implements Component, RosterEventListener {
else {
Log.debug("Unable to handle iq request: " + xmlns);
IQ error = IQ.createResultIQ(packet);
error.setError(Condition.bad_request);
error.setError(Condition.service_unavailable);
reply.add(error);
}
......
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