From 92a44dfcdaed90bf5667864554875ea1fba246c2 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().