synapse icon indicating copy to clipboard operation
synapse copied to clipboard

Provide possibility to add default push rules for all users

Open matrixbot opened this issue 2 years ago • 1 comments

This issue has been migrated from #9325.


Based on the Matrix Server API spec the Synapse server provides some default push rules that apply to all users. There is currently no possibility to add a custom default push rule for all users. Therefore, it is necessary to define this rule for every user, which results in a lot of rule entries in the database, which could be avoided.

matrixbot avatar Dec 18 '23 13:12 matrixbot

I created #17405, which seems to be a duplicate of this original issue. I will add the information I had written:


Description:

Currently, the server-default push rules are hard-coded, making it difficult to change these defaults without modifying the source code.

Issue:

We want new users, who haven't set any overrides on the user or room level for push rules, to have specific default notification settings. Specifically, we want the default notification setting to be "Mention only."

Context:

  • Current Limitation: There is no straightforward way to override these defaults through configuration. As confirmed by community members in the Matrix support room, this requires altering the source code.
  • Reference: The relevant code can be found here: Base Rules Source Code.
  • Documentation: According to the Predefined Rules Documentation it seems that these defaults should be configurable.

bartvdbraak avatar Jul 15 '24 07:07 bartvdbraak