mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-07-26 23:08:11 +00:00
A position-sharing node that isn't a stored contact was appended to the Nearby list regardless of the active type filter, so a companion would show up (and, having a live distance, sort to the top) under the Repeater / Room / Sensor filters. Gate the append on the type filter — a non-contact [LOC] sender is treated as a companion, so it only appears under All/Comp. Also drop the "share must be newer than the advert" guard when overlaying a share onto a stored contact: a [LOC] message is an explicit current position, so it always defines the pin and the distance used for proximity sorting (recency for the time sort stays the most recent of advert/share). Verified: WioTrackerL1_companion_solo_dual builds clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>