diff options
Diffstat (limited to 'src/mod_push_keepalive.erl')
-rw-r--r-- | src/mod_push_keepalive.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_push_keepalive.erl b/src/mod_push_keepalive.erl index 750427ee1..7c1815c02 100644 --- a/src/mod_push_keepalive.erl +++ b/src/mod_push_keepalive.erl @@ -184,7 +184,7 @@ c2s_handle_cast(State, _Msg) -> c2s_handle_info(#{push_enabled := true, mgmt_state := pending, jid := JID} = State, {timeout, _, push_keepalive}) -> ?INFO_MSG("Waking ~s before session times out", [jid:encode(JID)]), - mod_push:notify(State), + mod_push:notify(State, none), {stop, State}; c2s_handle_info(State, _) -> State. @@ -229,7 +229,7 @@ wake_all(LServer) -> IgnoreResponse = fun(_) -> ok end, lists:foreach(fun({_, PushLJID, Node, XData}) -> mod_push:notify(LServer, PushLJID, Node, - XData, IgnoreResponse) + XData, none, IgnoreResponse) end, Sessions); error -> error |