mod_message_log: Update for ejabberd 18.12

This commit is contained in:
Holger Weiss 2018-12-10 12:17:19 +01:00
parent 774cc46481
commit cfad261cf4
1 changed files with 1 additions and 1 deletions

View File

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