Include all new messages, including own.
Messages sent from one's own node can be used as confirmation of the send.
This commit is contained in:
parent
7b4321328a
commit
1b24fb56b4
@ -52,7 +52,6 @@ int NeoComm_join_channel(const char *channel_name) {
|
||||
/*.hash =*/ chan_hash,
|
||||
/*.token =*/ node.listen<dht::ImMessage>(chan_hash,
|
||||
[=](dht::ImMessage &&msg) {
|
||||
if(msg.from not_eq node.getId())
|
||||
channels[s_chan_name].msgs.push_back(msg);
|
||||
return true;
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user