aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-05-19 09:43:45 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2021-05-19 09:43:45 +0200
commit1edc5f37a2f12bd2297a9de590ea210760970ec8 (patch)
tree14977df529f607aff46c090efbd77f8498bda327
parent4f506422e32494392be291d79ab665d93335b72b (diff)
downloadinfrastructure-1edc5f37a2f12bd2297a9de590ea210760970ec8.tar.gz
infrastructure-1edc5f37a2f12bd2297a9de590ea210760970ec8.zip
Upgrade Matrix configuration
-rw-r--r--app/im/config/synapse/homeserver.yaml40
1 files changed, 35 insertions, 5 deletions
diff --git a/app/im/config/synapse/homeserver.yaml b/app/im/config/synapse/homeserver.yaml
index 7f313f6..eacf509 100644
--- a/app/im/config/synapse/homeserver.yaml
+++ b/app/im/config/synapse/homeserver.yaml
@@ -308,11 +308,38 @@ enable_metrics: False
## API Configuration ##
# A list of event types that will be included in the room_invite_state
-room_invite_state_types:
- - "m.room.join_rules"
- - "m.room.canonical_alias"
- - "m.room.avatar"
- - "m.room.name"
+#room_invite_state_types:
+# - "m.room.join_rules"
+# - "m.room.canonical_alias"
+# - "m.room.avatar"
+# - "m.room.name"
+
+# Controls for the state that is shared with users who receive an invite
+# to a room
+#
+room_prejoin_state:
+ # By default, the following state event types are shared with users who
+ # receive invites to the room:
+ #
+ # - m.room.join_rules
+ # - m.room.canonical_alias
+ # - m.room.avatar
+ # - m.room.encryption
+ # - m.room.name
+ # - m.room.create
+ #
+ # Uncomment the following to disable these defaults (so that only the event
+ # types listed in 'additional_event_types' are shared). Defaults to 'false'.
+ #
+ #disable_default_event_types: true
+
+ # Additional state event types to share with users when they are invited
+ # to a room.
+ #
+ # By default, this list is empty (so only the default event types are shared).
+ #
+ #additional_event_types:
+ # - org.example.custom.event.type
# A list of application service config file to use
@@ -418,3 +445,6 @@ password_config:
report_stats: false
suppress_key_server_warning: true
enable_group_creation: true
+
+experimental_features:
+ spaces_enabled: true