mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 01:39:35 +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
1 changed files with 1 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue