dhtchat: adapt for new API

This commit is contained in:
Adrien Béraud committed 2026-05-18 10:36:48 -04:00
1 parent 8b96652b32
commit bb96d2d80e
1 file changed
+1 -1
+1 -1
View File
@@ -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);