dhtinterface: remove resubscribe

This commit is contained in:
Adrien Béraud committed 2018-03-16 13:34:32 -04:00
1 parent 12db1f88dc
commit 4261bd2c85
5 files changed
-33

No files matched your search

-7
View File
@@ -232,13 +232,6 @@ void cmd_loop(std::shared_ptr<DhtRunner>& dht, dht_params& params
iss >> value;
dht->pushNotificationReceived({{"token", value}});
continue;
} else if (op == "re") {
iss >> value;
try {
unsigned token = std::stoul(value);
dht->resubscribe(token);
} catch (...) { }
continue;
}
#endif // OPENDHT_PUSH_NOTIFICATIONS
#endif //OPENDHT_PROXY_CLIENT