proxy client: send remote token on cancel

This commit is contained in:
Adrien Béraud committed 2018-04-16 15:04:57 -04:00
1 parent 8a52a7f72a
commit 7b3ce69b62
1 file changed
+1 -1
+1 -1
View File
@@ -805,7 +805,7 @@ DhtProxyClient::doCancelListen(const InfoHash& key, size_t ltoken)
Json::Value body;
body["key"] = deviceKey_;
body["client_id"] = pushClientId_;
body["token"] = std::to_string(ltoken);
body["token"] = std::to_string(*listener.pushNotifToken);
Json::StreamWriterBuilder wbuilder;
wbuilder["commentStyle"] = "None";
wbuilder["indentation"] = "";