mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 12:28:42 +00:00
dhtchat: adapt for new API
This commit is contained in:
1 parent
8b96652b32
commit
bb96d2d80e
1 file changed
+1
-1
+1
-1
@@ -123,7 +123,7 @@ main(int argc, char** argv)
|
||||
iss >> idstr;
|
||||
std::getline(iss, line);
|
||||
dht.putEncrypted(room,
|
||||
InfoHash(idstr),
|
||||
PkId(idstr),
|
||||
dht::ImMessage(IdDist()(tools::rd), std::move(line), now),
|
||||
[](bool ok) {
|
||||
// dht.cancelPut(room, id);
|
||||
|
||||
Reference in new issue
Block a user