25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-24 17:29:28 +01:00

If room config violates service policy, return not-acceptable instead of bad-request.

SVN Revision: 2487
This commit is contained in:
Badlop 2009-08-15 20:11:10 +00:00
parent 6eb5b544b4
commit e585b07d76

View File

@ -2698,7 +2698,7 @@ process_iq_owner(From, set, Lang, SubEl, StateData) ->
is_allowed_room_name_desc_limits(XEl,
StateData) of
true -> set_config(XEl, StateData);
false -> {error, 'bad-request'}
false -> {error, 'not-acceptable'}
end;
_ ->
{error, 'bad-request'}