From be8eade579bcdf22d55421ab1c39019a849472d8 Mon Sep 17 00:00:00 2001 From: Mikhail Uvarov Date: Wed, 14 Apr 2021 16:14:28 +0200 Subject: [PATCH] Set archive_groupchats to false by default According to the docs --- src/mam/mod_mam.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mam/mod_mam.erl b/src/mam/mod_mam.erl index 1d7392630a..36bbbe4834 100644 --- a/src/mam/mod_mam.erl +++ b/src/mam/mod_mam.erl @@ -512,7 +512,7 @@ handle_package(Dir, ReturnMessID, end. should_archive_if_groupchat(Host, <<"groupchat">>) -> - gen_mod:get_module_opt(Host, ?MODULE, archive_groupchats, true); + gen_mod:get_module_opt(Host, ?MODULE, archive_groupchats, false); should_archive_if_groupchat(_, _) -> true.