mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-08 07:34:55 -04:00
Add push.enabled
option to disable push notification calculation (#14551)
* Add initial option * changelog * Some more linting
This commit is contained in:
parent
781b14ec69
commit
71f3e53ad0
5 changed files with 53 additions and 2 deletions
|
@ -3355,6 +3355,10 @@ Configuration settings related to push notifications
|
|||
This setting defines options for push notifications.
|
||||
|
||||
This option has a number of sub-options. They are as follows:
|
||||
* `enable_push`: Enables or disables push notification calculation. Note, disabling this will also
|
||||
stop unread counts being calculated for rooms. This mode of operation is intended
|
||||
for homeservers which may only have bots or appservice users connected, or are otherwise
|
||||
not interested in push/unread counters. This is enabled by default.
|
||||
* `include_content`: Clients requesting push notifications can either have the body of
|
||||
the message sent in the notification poke along with other details
|
||||
like the sender, or just the event ID and room ID (`event_id_only`).
|
||||
|
@ -3375,6 +3379,7 @@ This option has a number of sub-options. They are as follows:
|
|||
Example configuration:
|
||||
```yaml
|
||||
push:
|
||||
enable_push: true
|
||||
include_content: false
|
||||
group_unread_count_by_room: false
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue