From a1a3ff4ba8f4c3d2f913adecbe252d2e6a078fd5 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 5f88b83..0b004a0 100644 --- a/hscontrol/mapper/mapper.go +++ b/hscontrol/mapper/mapper.go @@ -535,10 +535,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 }