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}) ->