From 1c536cbf5eb1f66a5d6305fb8cc246cb23d54a1e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com>
Date: Sun, 9 Feb 2020 10:34:42 -0500
Subject: [PATCH] permanent put: set clientId

---
 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 78723117..4c7dbc48 100644
--- a/src/dht_proxy_server.cpp
+++ b/src/dht_proxy_server.cpp
@@ -976,6 +976,7 @@ DhtProxyServer::put(restinio::request_handle_t request,
 #ifdef OPENDHT_PUSH_NOTIFICATIONS
                     if (not pushToken.empty()){
                         pput.pushToken = pushToken;
+                        pput.clientId = clientId;
                         pput.sessionCtx = std::make_shared<PushSessionContext>();
                         pput.sessionCtx->sessionId = sessionId;
                         // notify push listen expire
-- 
GitLab