From 941ed7c21a930bb46f32225171e63c1097f3cdb8 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Fri, 7 Aug 2015 00:15:07 +0200 Subject: [PATCH] mod_mam_mnesia: Accept messages The element has been renamed to . --- mod_mam_mnesia/src/mod_mam_mnesia.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod_mam_mnesia/src/mod_mam_mnesia.erl b/mod_mam_mnesia/src/mod_mam_mnesia.erl index c415355..0663a98 100644 --- a/mod_mam_mnesia/src/mod_mam_mnesia.erl +++ b/mod_mam_mnesia/src/mod_mam_mnesia.erl @@ -352,7 +352,7 @@ message_type(#xmlel{attrs = Attrs}) -> has_non_empty_body(Message) -> xml:get_subtag_cdata(Message, <<"body">>) =/= <<"">> orelse - xml:get_subtag(Message, <<"axolotl_message">>) =/= false. + xml:get_subtag(Message, <<"encrypted">>) =/= false. -spec has_no_store_hint(xmlel()) -> boolean().