diff --git a/mod_mam_mnesia/src/mod_mam_mnesia.erl b/mod_mam_mnesia/src/mod_mam_mnesia.erl index bccfdb8..698323a 100644 --- a/mod_mam_mnesia/src/mod_mam_mnesia.erl +++ b/mod_mam_mnesia/src/mod_mam_mnesia.erl @@ -351,7 +351,8 @@ message_type(#xmlel{attrs = Attrs}) -> -spec has_non_empty_body(xmlel()) -> boolean(). has_non_empty_body(Message) -> - xml:get_subtag_cdata(Message, <<"body">>) =/= <<"">>. + xml:get_subtag_cdata(Message, <<"body">>) =/= <<"">> orelse + xml:get_subtag_cdata(Message, <<"axolotl_message">>) =/= <<"">>. -spec has_no_storage_hint(xmlel()) -> boolean().