diff --git a/src/mod_push.erl b/src/mod_push.erl index 077556ffd..eb06e41b0 100644 --- a/src/mod_push.erl +++ b/src/mod_push.erl @@ -346,7 +346,7 @@ c2s_stanza(State, #stream_error{}, _SendResult) -> c2s_stanza(#{push_enabled := true, mgmt_state := pending} = State, Pkt, _SendResult) -> ?DEBUG("Notifying client of stanza", []), - notify(State, Pkt), + notify(State, xmpp_util:unwrap_carbon(Pkt)), State; c2s_stanza(State, _Pkt, _SendResult) -> State.