Use sendTargetBacklog when re-attaching a channel

No need to attempt to send backlog for all targets in the network.
We're only interested in a single channel.
This commit is contained in:
Simon Ser 2021-02-10 13:50:10 +01:00
parent 26473ed60d
commit 31cd56875a

View File

@ -226,9 +226,7 @@ func (net *network) attach(ch *Channel) {
forwardChannel(dc, uch) forwardChannel(dc, uch)
} }
if _, ok := net.delivered[ch.Name]; ok { dc.sendTargetBacklog(net, ch.Name)
dc.sendNetworkBacklog(net)
}
}) })
} }