From 39cf5a0fd769f27d064bf7865f9d192a670d5730 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Tue, 8 Mar 2016 00:39:11 +0100 Subject: [PATCH] Update mod_post_log to work with ejabberd 16.02 --- mod_post_log/src/mod_post_log.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()),