Skip to content

Username mentions are not handled properly when display name mentions are disabled #28335

@composite9239

Description

@composite9239

Steps to reproduce

  1. Set notifications for "Messages containing my display name" to "Off"
  2. Set notifications for "Messages containing my username" to "Noisy"
  3. Tag yourself in another Element client such that you get the Element "mention-bubble" of the user, not just the raw username
  4. Get no notification despite being tagged directly

Outcome

What did you expect?

Receiving a noisy notification since a tag-bubble should be equivalent to the username being typed out.

What happened instead?

Received no notification. For @user:example.com it only sends a notification if user is typed, whereas it should notify for the full username (either someone typing @user:example.com or the Element mention-bubble version of that). I do not see the use case for people being notified for their bare username being written out so I assume this is not intended behavior. Tagging someone via message bubble should notify them if they want to be notified of their username being used.

Operating system

Ubuntu

Browser information

No response

URL for webapp

No response

Application version

Element version: 1.11.82 Crypto version: Rust SDK 0.7.2 (7a21514), Vodozemac 0.7.0

Homeserver

Synapse 1.117.0

Will you send logs?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-NotificationsO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-DefectX-Needs-InfoThis issue is blocked awaiting information from the reporter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions