]> granicus.if.org Git - ejabberd/commitdiff
Do not declare mod_muc as dependency of mod_mam to prevent loop in deps
authorPaweł Chmielowski <pchmielowski@process-one.net>
Mon, 6 May 2019 10:21:49 +0000 (12:21 +0200)
committerPaweł Chmielowski <pchmielowski@process-one.net>
Mon, 6 May 2019 10:22:19 +0000 (12:22 +0200)
src/mod_mam.erl

index ba00d74e52b61a738fd0f6b4816273f4bfddbd8c..0f06d982368ed8e96668de2ad6a274b2eae5e1f4 100644 (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) ->