mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
Merge pull request #13 from shaundaley39/BugFixDHTChatSignedMsg
bug fix: in DHTChat tool, signed message should emit entire line
This commit is contained in:
commit
7e393e7f1a
1 file changed
+2
-1
+2
-1
@@ -116,7 +116,8 @@ main(int argc, char **argv)
|
||||
std::cout << "Message publishing failed !" << std::endl;
|
||||
});
|
||||
} else {
|
||||
dht.putSigned(room, dht::ImMessage(std::move(op)), [](bool ok) {
|
||||
std::getline(iss, line);
|
||||
dht.putSigned(room, dht::ImMessage(std::move(line)), [](bool ok) {
|
||||
//dht.cancelPut(room, id);
|
||||
if (not ok)
|
||||
std::cout << "Message publishing failed !" << std::endl;
|
||||
|
||||
Reference in new issue
Block a user