Do not declare mod_muc as dependency of mod_mam to prevent loop in deps
This commit is contained in:
parent
ecce318304
commit
4e7bf9207e
|
@ -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) ->
|
||||
|
|
Loading…
Reference in New Issue