From d69035cf658cd545a9644b362da06b4af09eae4d Mon Sep 17 00:00:00 2001 From: root <165865819+brianshea2@users.noreply.github.com> Date: Sat, 19 Oct 2024 14:36:33 +0000 Subject: [PATCH] remove old version filter --- cmd/meshobserv/meshobserv.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cmd/meshobserv/meshobserv.go b/cmd/meshobserv/meshobserv.go index b77204c..99b116d 100644 --- a/cmd/meshobserv/meshobserv.go +++ b/cmd/meshobserv/meshobserv.go @@ -133,15 +133,11 @@ func handleMessage(from uint32, topic string, portNum generated.PortNum, payload log.Printf("[warn] could not parse MapReport payload from %v on %v: %v", from, topic, err) return } - fwVersion := mapReport.GetFirmwareVersion() - // 2.3.1 has a bug that spams multiple MapReports every second - if len(fwVersion) > 6 && fwVersion[:6] == "2.3.1." { - return - } longName := mapReport.GetLongName() shortName := mapReport.GetShortName() hwModel := mapReport.GetHwModel().String() role := mapReport.GetRole().String() + fwVersion := mapReport.GetFirmwareVersion() region := mapReport.GetRegion().String() modemPreset := mapReport.GetModemPreset().String() hasDefaultCh := mapReport.GetHasDefaultChannel()