mod_mam_mnesia: Accept <encrypted/> messages

The <axolotl_message/> element has been renamed to <encrypted/>.
This commit is contained in:
Holger Weiss 2015-08-07 00:15:07 +02:00
parent 4feba7a5e6
commit 92a44dfcda
1 changed files with 1 additions and 1 deletions

View File

@ -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().