25
1
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:
Evgeny Khramtsov 2019-04-03 15:01:20 +03:00
parent 17b9dc6035
commit 3013f1b9bc

View File

@ -245,8 +245,11 @@ reload(Host, NewOpts, OldOpts) ->
ok ok
end. 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. -spec register_iq_handlers(binary()) -> ok.
register_iq_handlers(Host) -> register_iq_handlers(Host) ->