mod_mam_mnesia: Also store Axolotl messages

This commit is contained in:
Holger Weiss 2015-07-20 12:50:33 +02:00
parent 1477a92b8a
commit 7e2eb9a578
1 changed files with 2 additions and 1 deletions

View File

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