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: 2487
This commit is contained in:
parent
6eb5b544b4
commit
e585b07d76
@ -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'}
|
||||
|
Loading…
Reference in New Issue
Block a user