mirror of
https://github.com/processone/ejabberd.git
synced 2024-06-02 21:17:12 +02:00
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.
|
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) ->
|
||||||
|
|
Loading…
Reference in New Issue
Block a user