Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

user name mention notifications happen when user name is mentioned without any qualifying prefix/suffix #16465

Closed
Be-ing opened this issue Feb 16, 2021 · 5 comments
Labels

Comments

@Be-ing
Copy link

Be-ing commented Feb 16, 2021

Description

My Matrix user name is simply be, which is a common English word. Element triggers a notification anyone uses my user name, which is almost always not actually trying to send a message to me. This makes notifications from Element basically unusable. User name mentions should only trigger a notification with an appropriate prefix such as @ or a suffix such as :

Steps to reproduce

  • Use a user name that is a common word
  • Be annoyed by notifications for irrelevant mentions of your user name

Version information

  • Platform: web

For the web app:

@t3chguy
Copy link
Member

t3chguy commented Feb 16, 2021

This is a Matrix spec issue, rather than an Element one.

https://matrix.org/docs/spec/client_server/r0.6.1#m-rule-contains-user-name defines it as [the local part of the user's Matrix ID] and is implemented in both Clients and Servers

I suggest opening an issue in https://github.com/matrix-org/matrix-doc if you think that should change

@Be-ing
Copy link
Author

Be-ing commented Feb 16, 2021

I suggest opening an issue in https://github.com/matrix-org/matrix-doc if you think that should change

Will do. I don't know why this is different from pretty much every other modern system that uses an @ prefix.

@Be-ing
Copy link
Author

Be-ing commented Feb 16, 2021

I also don't really understand why that's part of the Matrix specification. I think clients should be able to handle notifications however they want.

@t3chguy
Copy link
Member

t3chguy commented Feb 16, 2021

Because clients rely on servers for push notifications, so servers apply the same rules

Closing in favour of matrix-org/matrix-spec-proposals#3011

@t3chguy t3chguy closed this as completed Feb 16, 2021
@Be-ing
Copy link
Author

Be-ing commented Feb 16, 2021

That makes sense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants