From cfad261cf4f6cfe1ae3332356e91c0bb9ac4b037 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 10 Dec 2018 12:17:19 +0100 Subject: [PATCH] mod_message_log: Update for ejabberd 18.12 --- mod_message_log/src/mod_message_log.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod_message_log/src/mod_message_log.erl b/mod_message_log/src/mod_message_log.erl index e8be6a2..c17f6b4 100644 --- a/mod_message_log/src/mod_message_log.erl +++ b/mod_message_log/src/mod_message_log.erl @@ -206,7 +206,7 @@ is_carbon(_Msg) -> -spec should_log(message()) -> boolean(). should_log(#message{meta = #{carbon_copy := true}} = Msg) -> - should_log(xmpp_util:unwrap_carbon(Msg)); + should_log(misc:unwrap_carbon(Msg)); should_log(#message{type = error}) -> false; should_log(#message{body = Body, sub_els = SubEls}) ->