mirror of
https://github.com/brianshea2/meshmap.net.git
synced 2025-03-05 21:00:01 -08:00
Update meshobserv.go
This change prevents newer versions like 2.3.10 and 2.3.11 from being incorrectly filtered out. This addresses the issues reported in GitHub issue #12
This commit is contained in:
parent
33b809fbb6
commit
d4e40049a8
|
@ -132,7 +132,7 @@ func handleMessage(from uint32, topic string, portNum generated.PortNum, payload
|
|||
}
|
||||
fwVersion := mapReport.GetFirmwareVersion()
|
||||
// 2.3.1 has a bug that spams multiple MapReports every second
|
||||
if len(fwVersion) > 5 && fwVersion[:5] == "2.3.1" {
|
||||
if len(fwVersion) > 5 && fwVersion[:5] == "2.3.1" || strings.HasPrefix(fwVersion, "2.3.1.") {
|
||||
return
|
||||
}
|
||||
longName := mapReport.GetLongName()
|
||||
|
|
Loading…
Reference in a new issue