Verified Commit 72af7786 authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig)
Browse files

matrix: Update synapse to 1.61.0

parent 8a04aa3b
......@@ -24,9 +24,8 @@ matrix_nginx_config:
- "~ ^/_matrix/federation/v1/event_auth/"
- "~ ^/_matrix/federation/v1/exchange_third_party_invite/"
- "~ ^/_matrix/federation/v1/user/devices/"
- "~ ^/_matrix/federation/v1/get_groups_publicised$"
- "~ ^/_matrix/key/v2/query"
- "~ ^/_matrix/federation/(v1|unstable/org.matrix.msc2946)/hierarchy/"
- "~ ^/_matrix/federation/v1/hierarchy/"
- "~ ^/_matrix/federation/v1/send/"
- name: media_repository
port: 8013
......
......@@ -75,7 +75,7 @@
- name: install synapse
pip:
name:
- 'matrix-synapse[postgres,systemd,url_preview,redis,oidc]==1.60.0'
- 'matrix-synapse[postgres,systemd,url_preview,redis,oidc]==1.61.0'
state: latest
extra_args: '--upgrade-strategy=eager'
virtualenv: /var/lib/synapse/venv
......
......@@ -7,7 +7,6 @@ namespaces:
{% for network in vault_matrix_secrets.irc_networks %}
- exclusive: true
regex: '@{{ network.name | regex_escape() }}_.*:{{ matrix_server_name | regex_escape() }}'
group_id: '+{{ network.name }}:{{ matrix_server_name }}'
{% endfor %}
aliases:
......
......@@ -386,6 +386,13 @@ manhole_settings:
#
#dummy_events_threshold: 5
# An optional duration. If set, Synapse will run a daily background task to log out and
# delete any device that hasn't been accessed for more than the specified amount of time.
#
# Defaults to no duration, which means devices are never pruned.
#
delete_stale_devices_after: 1y
## Homeserver blocking ##
......@@ -1077,6 +1084,14 @@ max_upload_size: {{ matrix_max_upload_size }}
# height: 600
# method: scale
# Controls whether local media and entries in the remote media cache
# (media that is downloaded from other homeservers) should be removed
# under certain conditions, typically for the purpose of saving space.
#
media_retention:
local_media_lifetime: 1y
remote_media_lifetime: 28d
# Is the preview URL API enabled?
#
# 'false' by default: uncomment the following to enable it (and specify a
......@@ -2564,16 +2579,6 @@ push:
# "events_default": 1
# Uncomment to allow non-server-admin users to create groups on this server
#
#enable_group_creation: true
# If enabled, non server admins can only create groups with local parts
# starting with this prefix
#
#group_creation_prefix: "unofficial_"
# User Directory configuration
#
......
......@@ -208,7 +208,7 @@ ircService:
# This should be set to the same thing as namespaces.users.group_id in irc_registration.
# This does not alter existing rooms.
# Leaving this option empty will not set the event.
groupId: "+{{ network.name }}:{{ matrix_server_name }}"
groupId: ""
# Should created Matrix rooms be federated? If false, only users on the
# HS attached to this AS will be able to interact with this room.
# Default: true.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment