← All stories
● Covered by 1 source · 1 reportLow impact1 neutral

Parley Chat Updates Mention Logic for Federated Nicks

🔄 Updated 4d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Mentions previously notified all users sharing a nick across instances.
  • New logic interprets mentions based on how the sender's client displayed the name.
  • Qualified nicks (e.g., "bob:bar.com") target specific instances.
  • Bare nicks now only target users on the sender's local instance.

Addressing Unintended Notifications

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.

Revised Mention Interpretation

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.

Technical Implementation and Testing

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.

Impact on User Experience

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 →

The daily brief

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.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~34 min · 27 stories · Oct 02

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

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.