Skip to content

Intentional Mentions testing: Pings for display name and MXID text shouldn't happen #25497

Closed
matrix-org/matrix-js-sdk
#3445
@daniellekirkwood

Description

@daniellekirkwood

Steps to reproduce

During the testing session for the MSC we found that using a users displayname or their MXID sends a red highlight ping in encrypted rooms and it should not. In unencrypted rooms the ping acts as expected but the text still turns red, the two are likely related and indicate a client side issue

To repro:

  • Have 2 accounts with intentional mentions labs flag on (ask @clokep or @daniellekirkwood if needed)
  • Send a message containing the display name of the other account to an encrypted room
  • The message should not ping as the user has not sent a pill, just plain text that matches the display name.

EG: "Danielle" or "daniellekirkwood:matrix.org" written this way in the composer should not send a red highlight ping. Only a pillifed tag should send a red highlight ping

Outcome

What did you expect?

What happened instead?

Operating system

No response

Browser information

No response

URL for webapp

No response

Application version

No response

Homeserver

No response

Will you send logs?

Yes

Metadata

Metadata

Labels

A-NotificationsO-UncommonMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existT-DefectZ-GetYourUpdatesZ-Labs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions