-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Notication keywords trigger on homeserver domain in MXID #23469
Comments
In the second example with the reply, it makes more sense why it would ping you since the reply syntax has the MXID in it with
> <@madlittlemods:matrix.org> foo\n\nbar
<mx-reply>
<blockquote>
<a href="https://matrix.to/#/!xxx:matrix.org/$123?via=matrix.org">In reply to</a>
<a href="https://matrix.to/#/@madlittlemods:matrix.org">@madlittlemods:matrix.org</a>
<br>foo
</blockquote>
</mx-reply>
bar For the first example, I'm not able to reproduce with from a normal message that has no |
@MadLittleMods The first message is not causing a notification. It just has the green on the left because I clicked the reply to get to it. I just screenshot that one so I could prove the entire message does not contain "matrix" in it. This bug is only about the reply causing a notification. While the formatted body may technically contain the MXID in the event body and does explain why the bug happens, it's not being presented that way to the user, and neither message actually contains "matrix" from the user's perspective. |
Thanks for the clarification @BurnyBoi! Looks like a duplicate of element-hq/element-meta#743, #16863, element-hq/element-meta#744 |
Steps to reproduce
(Example: Add
matrix
as a notification keyword, then have anyone reply to amatrix.org
user)Outcome
What did you expect?
User should NOT get a notification, because the body of the original message and the reply do not contain
matrix
(in the example given)What happened instead?
I receive a notification because the user being replied to has
matrix
in the domain of their MXID, triggering the keyword.Message being replied to (Example 1):
Example 2 (with reply that causes a notification):
(Note: Neither of these are my account. The notification is only because the one being replied to is on matrix.org)
Operating system
Arch Linux
Browser information
Firefox 105
URL for webapp
develop.element.io
Application version
Element version: 2ef6abb-react-8b54be6f4863-js-cc025ea45844 Olm version: 3.2.12
Homeserver
matrix.org
Will you send logs?
No
The text was updated successfully, but these errors were encountered: