mod_message_log: Update for ejabberd 18.12
This commit is contained in:
parent
774cc46481
commit
cfad261cf4
|
@ -206,7 +206,7 @@ is_carbon(_Msg) ->
|
||||||
|
|
||||||
-spec should_log(message()) -> boolean().
|
-spec should_log(message()) -> boolean().
|
||||||
should_log(#message{meta = #{carbon_copy := true}} = Msg) ->
|
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}) ->
|
should_log(#message{type = error}) ->
|
||||||
false;
|
false;
|
||||||
should_log(#message{body = Body, sub_els = SubEls}) ->
|
should_log(#message{body = Body, sub_els = SubEls}) ->
|
||||||
|
|
Loading…
Reference in New Issue