mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +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,
|
is_allowed_room_name_desc_limits(XEl,
|
||||||
StateData) of
|
StateData) of
|
||||||
true -> set_config(XEl, StateData);
|
true -> set_config(XEl, StateData);
|
||||||
false -> {error, 'bad-request'}
|
false -> {error, 'not-acceptable'}
|
||||||
end;
|
end;
|
||||||
_ ->
|
_ ->
|
||||||
{error, 'bad-request'}
|
{error, 'bad-request'}
|
||||||
|
Loading…
Reference in New Issue
Block a user