From 5853654f0a618dc89f893992a7f0d211456483f8 Mon Sep 17 00:00:00 2001 From: Jeff Halter <868228+jhalter@users.noreply.github.com> Date: Wed, 18 Jan 2023 14:56:58 -0800 Subject: Improve third party client compatability --- hotline/client_conn.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hotline/client_conn.go') diff --git a/hotline/client_conn.go b/hotline/client_conn.go index 8c95aeb..14aef9e 100644 --- a/hotline/client_conn.go +++ b/hotline/client_conn.go @@ -44,7 +44,6 @@ type ClientConn struct { transfersMU sync.Mutex transfers map[int]map[[4]byte]*FileTransfer - Agreed bool logger *zap.SugaredLogger } @@ -157,7 +156,7 @@ func (cc *ClientConn) Disconnect() { // notifyOthers sends transaction t to other clients connected to the server func (cc *ClientConn) notifyOthers(t Transaction) (trans []Transaction) { for _, c := range sortedClients(cc.Server.Clients) { - if c.ID != cc.ID && c.Agreed { + if c.ID != cc.ID { t.clientID = c.ID trans = append(trans, t) } -- cgit