Commit e521b8ab 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/src/plugins/gateway@7143 b35dd754-fafc-0310-a699-88a17e54d16e
parent 19486c49
...@@ -439,7 +439,7 @@ public abstract class BaseTransport implements Component, RosterEventListener { ...@@ -439,7 +439,7 @@ public abstract class BaseTransport implements Component, RosterEventListener {
else { else {
Log.debug("Unable to handle iq request: " + xmlns); Log.debug("Unable to handle iq request: " + xmlns);
IQ error = IQ.createResultIQ(packet); IQ error = IQ.createResultIQ(packet);
error.setError(Condition.bad_request); error.setError(Condition.service_unavailable);
reply.add(error); 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