From 508a22b5df5a4bd6a06f5dfe4527487ac4f094a3 Mon Sep 17 00:00:00 2001
From: reivilibre
Example configuration:
presence:
enabled: false
+ include_offline_users_on_sync: false
enabled
can also be set to a special value of "untracked" which ignores updates
received via clients and federation, while still accepting updates from the
module API.
The "untracked" option was added in Synapse 1.96.0.
+When clients perform an initial or full_state
sync, presence results for offline users are
+not included by default. Setting include_offline_users_on_sync
to true
will always include
+offline users in the results. Defaults to false.
require_auth_for_profile_requests
Whether to require authentication to retrieve profile data (avatars, display names) of other @@ -1761,6 +1765,15 @@ into fewer transactions. Defaults to 50.
Config options related to Synapse's media store.
enable_authenticated_media
When set to true, all subsequent media uploads will be marked as authenticated, and will not be available over legacy
+unauthenticated media endpoints (/_matrix/media/(r0|v3|v1)/download
and /_matrix/media/(r0|v3|v1)/thumbnail
) - requests for authenticated media over these endpoints will result in a 404. All media, including authenticated media, will be available over the authenticated media endpoints _matrix/client/v1/media/download
and _matrix/client/v1/media/thumbnail
. Media uploaded prior to setting this option to true will still be available over the legacy endpoints. Note if the setting is switched to false
+after enabling, media marked as authenticated will be available over legacy endpoints. Defaults to false, but
+this will change to true in a future Synapse release.
Example configuration:
+enable_authenticated_media: true
+
+enable_media_repo
Enable the media store service in the Synapse master. Defaults to true. Set to false if you are using a separate media store worker.
@@ -3714,6 +3727,33 @@ exceptcom.example.foo
.
trusted_private_chat: null
public_chat: null
+The default power levels for each preset are:
+"m.room.name": 50
+"m.room.power_levels": 100
+"m.room.history_visibility": 100
+"m.room.canonical_alias": 50
+"m.room.avatar": 50
+"m.room.tombstone": 100
+"m.room.server_acl": 100
+"m.room.encryption": 100
+
+So a complete example where the default power-levels for a preset are maintained +but the power level for a new key is set is:
+default_power_level_content_override:
+ private_chat:
+ events:
+ "com.example.foo": 0
+ "m.room.name": 50
+ "m.room.power_levels": 100
+ "m.room.history_visibility": 100
+ "m.room.canonical_alias": 50
+ "m.room.avatar": 50
+ "m.room.tombstone": 100
+ "m.room.server_acl": 100
+ "m.room.encryption": 100
+ trusted_private_chat: null
+ public_chat: null
+
forget_rooms_on_leave
Set to true to automatically forget rooms for users when they leave them, either -- cgit 1.5.1