瀏覽代碼

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
pull/2702/head
Slavi Pantaleev 3 年之前
父節點
當前提交
c55371e305
共有 3 個檔案被更改,包括 19 行新增1 行删除
  1. +14
    -0
      CHANGELOG.md
  2. +4
    -0
      roles/custom/matrix-synapse/defaults/main.yml
  3. +1
    -1
      roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 14
- 0
CHANGELOG.md 查看文件

@@ -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


+ 4
- 0
roles/custom/matrix-synapse/defaults/main.yml 查看文件

@@ -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.


+ 1
- 1
roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 查看文件

@@ -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
#


Loading…
取消
儲存