-
Notifications
You must be signed in to change notification settings - Fork 119
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
Notifications at mentions in encrypted rooms #2411
Comments
A homeserver needs to implement the following MSC which is experimental: Matrix.org is working on implementing it on their server in the future, but if you have a server of your own you might need to update it or use a development version to support this. Closing the issue since this is not something we can do anything from the app side. |
...in response to that what needs to be updated or better speaking which development version needs to be used, this answer is a bit vague to me and the linked PR is blocked for merging |
If your server is using Synapse, it should have already been implemented in it (but I am not sure if a stable release with the implementation is already available, or if you might need to use a development/unstable version), you can get more info directly on Synapse |
@Velin92 sorry but I've now found conflicting information on how to enable experimental features, some say you have to create a file called
As far as I can tell synapse v1.100.0 should have that built in but I seem to can't get it to work with either methods since |
Sorry but I don't know how I can help you since this repo is dedicated to Element-X-iOS, could you try asking or opening an issue on the synapse repo? |
Thanks for the response. No worries, I now implemented everything that MSC4028 is supported on my homeserver and it even reports that it's enabled but on Element X it shows it's not supported by the homeserver, so isn't this related to Element X for iOS? The homeserver now responds properly with: |
Could you try to check if this is also enabled for the push rules on your account/accounts? Since El-X checks also if the push rule for the account data has the MSC 4028 enabled globally. |
I assume you are after that:
Good to know that this is the issue, I've now changed it and it seems to be resolved, at least the app doesn't list the message anymore! |
@Velin92 sorry again a question, do all users have to change that setting on their own? This would be a huge bummer since with the command from above I changed it only for me correct? |
From what I understand the MSC should be enabled by default in the push rules even in its unstable prefix, as stated in MSC 4028 description when enabled in the server configurations
So it's weird that you had to enable it manually for yourself. |
@ich777 Okay I double checked, as of right Synapse implements the configuration as an experimental/unstable setting. But it does not support yet that when enabled, it automatically adds itself as default global push rule for all the users, there is in fact an issue open about it: So yeah as of right now users need to change this manually to support it. |
Thanks for confirming. |
For anyone who finds themselves looking for a way to enable experimental msc4028 support on their homeserver:
experimental_features:
msc4028_push_encrypted_events: true
curl -H 'Authorization: Bearer <access-token>' \
https://<homeserver-url>/_matrix/client/r0/pushrules/global/override/.org.matrix.msc4028.encrypted_event/enabled \
-XPUT \
-d'{"enabled":true}' You can check that it worked by removing You can also confirm that the following command includes curl -H "Authorization: Bearer <access-token>" https://<homeserver-url>/_matrix/client/versions At this point, Element X should stop showing the |
Steps to reproduce
Settings -> Notifications -> Groupchats -> Mentions and key words
(Your home server does not support this option in encrypted rooms. You may not be notified in some rooms.)
Outcome
What did you expect?
It would be great if you could also be notified of mentions in encrypted rooms.
What happened instead?
No notifications for mentions in encrypted rooms.
Your phone model
iPhone 14 Pro
Operating system version
iOS 17.3
Application version
1.5.4 (88)
Homeserver
matrix.minenet.at
Will you send logs?
No
The text was updated successfully, but these errors were encountered: