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:
you
2026-04-04 08:01:35 +00:00
parent 0c340e1eb6
commit 1e1c4cb91f
+3
View File
@@ -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()