Skip to content
Snippets Groups Projects
Commit 5cfcf486 authored by Sébastien Blin's avatar Sébastien Blin Committed by Adrien Béraud
Browse files

proxyserver: set permanent put pushToken

parent 8597267c
Branches
Tags
No related merge requests found
......@@ -971,6 +971,7 @@ DhtProxyServer::put(restinio::request_handle_t request,
pput.expireTimer = std::make_unique<asio::steady_timer>(ctx, timeout);
#ifdef OPENDHT_PUSH_NOTIFICATIONS
if (not pushToken.empty()){
pput.pushToken = pushToken;
pput.sessionCtx = std::make_shared<PushSessionContext>();
pput.sessionCtx->sessionId = sessionId;
// notify push listen expire
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment