aboutsummaryrefslogtreecommitdiff
path: root/src/mod_mam.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_mam.erl')
-rw-r--r--src/mod_mam.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_mam.erl b/src/mod_mam.erl
index 9bf154f58..59940ec81 100644
--- a/src/mod_mam.erl
+++ b/src/mod_mam.erl
@@ -5,7 +5,7 @@
%%% Created : 4 Jul 2013 by Evgeniy Khramtsov <ekhramtsov@process-one.net>
%%%
%%%
-%%% ejabberd, Copyright (C) 2013-2021 ProcessOne
+%%% ejabberd, Copyright (C) 2013-2022 ProcessOne
%%%
%%% This program is free software; you can redistribute it and/or
%%% modify it under the terms of the GNU General Public License as
@@ -740,7 +740,7 @@ should_archive(#message{body = Body, subject = Subject,
#message{} = Msg ->
should_archive(Msg, LServer);
_ ->
- false
+ misc:is_mucsub_message(Pkt)
end
end
end