Add changelog entry for the forget_rooms_on_leave default change for Synapse

Related to:

- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2698
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2700
This commit is contained in:
Slavi Pantaleev 2023-05-25 09:14:09 +03:00
parent 196e13f8c8
commit c55371e305
3 changed files with 19 additions and 1 deletions

View File

@ -1,3 +1,17 @@
# 2023-05-25
## Enabling `forget_rooms_on_leave` by default for Synapse
With the [Synapse v1.84.0 update](https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2698), we've also **changed the default value** of the `forget_rooms_on_leave` setting of Synapse to a value of `true`.
This way, **when you leave a room, Synapse will now forget it automatically**.
The upstream Synapse default is `false` (disabled), so that you must forget rooms manually after leaving.
**We go against the upstream default** ([somewhat controversially](https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2700)) in an effort to make Synapse leaner and potentially do what we believe most users would expect their homeserver to be doing.
If you'd like to go back to the old behavior, add the following to your configuration: `matrix_synapse_forget_rooms_on_leave: false`
# 2023-04-03
## The matrix-jitsi role lives independently now

View File

@ -928,6 +928,10 @@ matrix_synapse_room_list_publication_rules:
matrix_synapse_default_room_version: "10"
# Controls whether leaving a room will automatically forget it.
# The upstream default is `false`, but we try to make Synapse less wasteful of resources, so we do things differently.
matrix_synapse_forget_rooms_on_leave: true
# Controls the Synapse `spam_checker` setting.
#
# If a spam-checker extension is enabled, this variable's value is set automatically by the playbook during runtime.

View File

@ -143,7 +143,7 @@ default_room_version: {{ matrix_synapse_default_room_version|to_json }}
# Set to true to automatically forget rooms for users when they leave them, either
# normally or via a kick or ban. Defaults to false.
forget_rooms_on_leave: true
forget_rooms_on_leave: {{ matrix_synapse_forget_rooms_on_leave | to_json }}
# The GC threshold parameters to pass to `gc.set_threshold`, if defined
#