mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Merge pull request #2900 from aquarhead/protect-muc-owner
Protect against bad muc#owner requests
This commit is contained in:
commit
d1b5844d64
@ -3370,7 +3370,9 @@ process_iq_owner(From, #iq{type = get, lang = Lang,
|
||||
end;
|
||||
true ->
|
||||
{error, xmpp:err_bad_request()}
|
||||
end.
|
||||
end;
|
||||
process_iq_owner(_, _, _) ->
|
||||
{error, xmpp:err_bad_request()}.
|
||||
|
||||
-spec is_allowed_log_change(muc_roomconfig:result(), state(), jid()) -> boolean().
|
||||
is_allowed_log_change(Options, StateData, From) ->
|
||||
|
Loading…
Reference in New Issue
Block a user