summaryrefslogtreecommitdiff
path: root/src/mod_push.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mod_push.erl')
-rw-r--r--src/mod_push.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_push.erl b/src/mod_push.erl
index 077556ff..eb06e41b 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.