fix(#830): count a direct (0-hop) repeater as a selectable path
D1: the picker excluded direct repeaters. hasPath required a non-empty path, but a direct 0-hop repeater has pathLength 0 and an empty path, so the owner's own adjacent repeater was greyed as 'No stored path'. Direct is a reachable (best-case) route; hasPath is now pathLength >= 0, excluding only pathLength -1 (flood/unknown). The reply-path already sends zero-hop for direct, which is correct. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>pull/858/head
parent
5d56b0e8ba
commit
e44f47b9df
Loading…
Reference in new issue