diff --git a/mod_post_log/src/mod_post_log.erl b/mod_post_log/src/mod_post_log.erl index 65af872..7ca981e 100644 --- a/mod_post_log/src/mod_post_log.erl +++ b/mod_post_log/src/mod_post_log.erl @@ -66,7 +66,7 @@ log_chat(From, To, #xmlel{children = Els} = Packet) -> end. log_chat_with_body(From, To, Packet) -> - post_xml(From, To, xml:element_to_binary(Packet)). + post_xml(From, To, fxml:element_to_binary(Packet)). post_xml(From, To, Xml) -> Ts = to_iso_8601_date(os:timestamp()),