mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Update mod_mam dependencies
This commit is contained in:
parent
17b9dc6035
commit
3013f1b9bc
@ -245,8 +245,11 @@ reload(Host, NewOpts, OldOpts) ->
|
||||
ok
|
||||
end.
|
||||
|
||||
depends(_Host, _Opts) ->
|
||||
[].
|
||||
depends(_Host, Opts) ->
|
||||
case proplists:get_bool(user_mucsub_from_muc_archive, Opts) of
|
||||
true -> [{mod_muc, hard}, {mod_muc_admin, hard}];
|
||||
false -> []
|
||||
end.
|
||||
|
||||
-spec register_iq_handlers(binary()) -> ok.
|
||||
register_iq_handlers(Host) ->
|
||||
|
Loading…
Reference in New Issue
Block a user