mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-09-27 04:08:01 +00:00
dborup: sitting in Aarhus but sending with the broad #dk scope should still show "Aarhus by" -- the scope-linked area alone doesn't tell you where the sender physically was. Adds a second, independent area resolved from the message's own path[0] entry-point repeater (same unique_prefix-only discipline as resolveEntryPointArea/Wardriving), shown as "From: <area>" alongside the existing "Scope: #dk (Danmark alle)" tag. GetChannelMessages (both DB and in-memory paths) now captures path[0] as an internal "entryPrefix" field; handleChannelMessages resolves it to an area server-side via the existing resolveEntryPointArea, then strips entryPrefix before the response goes out -- raw hash prefixes never reach the client for this feature. Scoped to the REST message list only, not the WebSocket live-append path (shared broadcast infra used by several other pages) -- a brand-new live message shows the scope-linked area only, until the next full load picks up the resolved path[0] area. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>