Update backend/src/node/connector.rs

Co-authored-by: Maciej Hirsz <1096222+maciejhirsz@users.noreply.github.com>
This commit is contained in:
David
2021-03-27 22:08:43 +01:00
committed by GitHub
parent 41a6060be7
commit 47f5df8104
+2 -4
View File
@@ -121,10 +121,8 @@ impl NodeConnector {
_ => ()
}
let rec = ctx.address().recipient();
let mute = ctx.address().recipient();
self.aggregator.do_send(AddNode { node, conn_id, rec, mute });
let rec = ctx.address();
self.aggregator.do_send(AddNode { node, conn_id, rec });
} else {
if backlog.len() >= 10 {
backlog.remove(0);