From 5cfcf4861def5f352783eb0768f25a0154028e1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Blin?= Date: Tue, 28 Jan 2020 12:08:28 -0500 Subject: [PATCH] proxyserver: set permanent put pushToken --- src/dht_proxy_server.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dht_proxy_server.cpp b/src/dht_proxy_server.cpp index 335566450..dd63cfe54 100644 --- a/src/dht_proxy_server.cpp +++ b/src/dht_proxy_server.cpp @@ -971,6 +971,7 @@ DhtProxyServer::put(restinio::request_handle_t request, pput.expireTimer = std::make_unique(ctx, timeout); #ifdef OPENDHT_PUSH_NOTIFICATIONS if (not pushToken.empty()){ + pput.pushToken = pushToken; pput.sessionCtx = std::make_shared(); pput.sessionCtx->sessionId = sessionId; // notify push listen expire