mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
If room config violates service policy, return not-acceptable instead of bad-request.
SVN Revision: 2484
This commit is contained in:
parent
14e95f91d1
commit
5ddfccd45e
@ -2642,7 +2642,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, ?ERR_BAD_REQUEST}
|
||||
false -> {error, ?ERR_NOT_ACCEPTABLE}
|
||||
end;
|
||||
_ ->
|
||||
{error, ?ERR_BAD_REQUEST}
|
||||
|
Loading…
Reference in New Issue
Block a user