mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-08-28 05:14:27 +00:00
fix: include resolved_path in groupByHash packet response
QueryGroupedPackets builds its map manually and was missing resolved_path. The non-grouped path (txToMap) included it.
This commit is contained in:
@@ -581,6 +581,9 @@ func (s *PacketStore) QueryGroupedPackets(q PacketQuery) *PacketResult {
|
||||
"rssi": floatPtrOrNil(tx.RSSI),
|
||||
},
|
||||
})
|
||||
if tx.ResolvedPath != nil {
|
||||
entries[len(entries)-1].latest["resolved_path"] = tx.ResolvedPath
|
||||
}
|
||||
}
|
||||
s.mu.RUnlock()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user