Update mod_post_log to work with ejabberd 16.02

This commit is contained in:
Holger Weiss 2016-03-08 00:39:11 +01:00
parent 512255d98b
commit 39cf5a0fd7
1 changed files with 1 additions and 1 deletions

View File

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