Do not declare mod_muc as dependency of mod_mam to prevent loop in deps

This commit is contained in:
Paweł Chmielowski 2019-05-06 12:21:49 +02:00
parent ecce318304
commit 4e7bf9207e
1 changed files with 1 additions and 4 deletions

View File

@ -251,10 +251,7 @@ reload(Host, NewOpts, OldOpts) ->
end.
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) ->