fix(mobile): tag DM recipients - #4971
Draft
ik24999 wants to merge 1 commit into
Draft
Conversation
Co-authored-by: Iker <ikorraletxe@gmail.com> Signed-off-by: Iker <ikorraletxe@gmail.com>
ik24999
force-pushed
the
fix/mobile-dm-recipient-tags
branch
from
August 5, 2026 22:25
8877e07 to
3b8997f
Compare
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.
Summary
Root cause
Mobile sends only encoded explicit mentions as
ptags. In a direct message that means an ordinary message can be stored without any recipient tag, so managed agents never receive it and clients cannot treat it as addressed to them.Desktop already derives DM recipients from the channel membership. This change brings mobile in line with that behavior while excluding the sender and deduplicating recipients.
User impact
Direct messages sent from Buzz mobile will reliably notify and wake their recipients without requiring users to type an explicit
@mention.Verification
Validated after rebasing onto current
block/buzz:mainwith Flutter 3.41.7 / Dart 3.11.5:dart format: 366 files, 0 changesflutter analyze: no issuesnode scripts/check-file-sizes.mjs: passedflutter test: 1,231 tests passedgit diff --check: passed5cb4a66f24606afa7c6406ed8d52bc3f976d3ffbmatches the locally validated treeOriginating Buzz channel:
c3e004a6-08b4-4cd5-9c64-f84f4e599b4f