Parley, a federated chat platform, has implemented a change to its mention notification system. Previously, if multiple users shared the same nickname across different instances within a channel, a mention of that nickname would trigger notifications for all users, regardless of the sender's specific intent. For example, a mention like "bob:bar.com: lunch?" from foo.com would notify both 'bob' on bar.com and 'bob' on foo.com.
The updated logic now interprets mentions based on how the sender's client displayed the name. A qualified nickname, such as "bob:bar.com" or "bob@bar.com", will specifically target the user 'bob' on the 'bar.com' instance. A bare nickname, like "bob", will only target the user 'bob' if they are on the sender's local instance. This ensures that notifications are delivered only to the intended recipient.
The change involves modifying how the system's `namesAccount` function processes nicknames and how `pushConsidered` reads peer information. New integration tests, such as `TestOnlyTheBobThatWasMeantIsPushed`, were added to verify the correct behavior, confirming that notifications are pushed only to the specifically named 'bob'. Existing tests were also checked, and documentation was updated to reflect the new protocol behavior.
This update resolves an issue where users received irrelevant notifications due to ambiguous nickname mentions in a federated environment. The change ensures more precise communication within Parley channels, particularly in scenarios involving shared nicknames across different instances, by aligning notification delivery with the sender's explicit targeting.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
Parley, a federated and decentralized chat system, updated its mention logic to ensure notifications are sent only to the intended recipient when multiple users share a nickname across different instances. This change prevents unintended notifications by clarifying how mentions are interpreted based on the sender's perspective and the qualification of nicknames.