Repository navigation
feat(nearby): Nearby people - #4
Merged
Merged
Conversation
Track people heard through verified lxmf.delivery announces with the interface and hop count they arrived on, expire and cap them, and report each one to the app as a NEARBY_PEER event. Add a manual LXMF_ANNOUNCE command and announce at most once per five minutes when a new Bluetooth peer links.
Adding a contact never opens or creates a conversation, so the Add contact dialog no longer selects the new direct message, and its description no longer says it will.
…pository Parse NEARBY_PEER bridge events, merge and expire them in the repository, persist the network readings with chat state, and add contacts from an announce without opening a conversation. Add an announce command to every transport, including the Android node service.
List people heard over Bluetooth and the network under Direct Messages, with a details dialog, one-tap Add, and a name prompt for people who share no name. Add Announce to the page header and next to the LXMF address on the Identity page.
Sidpatchy
approved these changes
Nov 24, 2026
Sidpatchy
left a comment
Owner
There was a problem hiding this comment.
LGTM. @zvx-echo6 for future PRs can you please get commit signing set up? I am going to enable that requirement for future merges.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds on #3 (Bluetooth peering). Until #3 merges, this PR also shows its commits; the Nearby people changes are the last 9 commits.
Adds a Nearby people page that lists people whose LXMF delivery announces Starling has heard, so you can add them without typing a 32-character address.
What it does
Tested on a device
Pixel 8 (Android 16) with a Linux laptop as a Bluetooth peer.
Python 161, desktopTest 193, debug APK builds.
Screenshots
Not verified on a device
The Network section was checked in renders only. During the device test, no announces arrived over the TCP hub we used, and the hub's relay could not be checked.