From d38aca0ad17c24317d710921d9e9af98c81239f3 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Mon, 17 Jul 2023 11:21:31 +0200 Subject: [PATCH] disable online map by default for now Signed-off-by: Kristoffer Dalby --- hscontrol/mapper/mapper.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hscontrol/mapper/mapper.go b/hscontrol/mapper/mapper.go index c3b34766e3b..8ca77777259 100644 --- a/hscontrol/mapper/mapper.go +++ b/hscontrol/mapper/mapper.go @@ -515,10 +515,10 @@ func (m *Mapper) baseMapResponse(machine *types.Machine) tailcfg.MapResponse { ControlTime: &now, } - online, err := m.db.ListOnlineMachines(machine) - if err == nil { - resp.OnlineChange = online - } + // online, err := m.db.ListOnlineMachines(machine) + // if err == nil { + // resp.OnlineChange = online + // } return resp }