diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2022-05-01 17:51:07 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2022-05-01 17:51:07 +0200 |
commit | c148ab4430688666d45fb3b3b56d29d67426c1cd (patch) | |
tree | f8da041b7d26bc825874ae4976ea42021c8a9802 /src/mod_push_keepalive.erl | |
parent | mod_push: Rename "timestamp" to "push session ID" (diff) |
Adapt mod_push_keepalive to mod_push changes
Adjust mod_push_keepalive to work with the mod_push changes applied by
commit 11574f0a43ff5dbdd297815c6c48fc8d976f1631.
Diffstat (limited to 'src/mod_push_keepalive.erl')
-rw-r--r-- | src/mod_push_keepalive.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_push_keepalive.erl b/src/mod_push_keepalive.erl index 1ced2690..8a816aef 100644 --- a/src/mod_push_keepalive.erl +++ b/src/mod_push_keepalive.erl @@ -213,7 +213,7 @@ c2s_copy_session(State, _) -> State. -spec c2s_handle_cast(c2s_state(), any()) -> c2s_state(). -c2s_handle_cast(#{lserver := LServer} = State, push_enable) -> +c2s_handle_cast(#{lserver := LServer} = State, {push_enable, _ID}) -> ResumeTimeout = mod_push_keepalive_opt:resume_timeout(LServer), WakeOnTimeout = mod_push_keepalive_opt:wake_on_timeout(LServer), State#{push_resume_timeout => ResumeTimeout, |