Skip to content

Commit

Permalink
Set archive_groupchats to false by default
Browse files Browse the repository at this point in the history
According to the docs
  • Loading branch information
arcusfelis committed Apr 14, 2021
1 parent f166757 commit be8eade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mam/mod_mam.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit be8eade

Please sign in to comment.