aboutsummaryrefslogtreecommitdiff
path: root/consul/configuration
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2019-10-27 15:26:21 +0100
committerQuentin <quentin@deuxfleurs.fr>2019-10-27 15:26:21 +0100
commit1850d9a6539ff88373508327eb9aa1e8832688fa (patch)
treed14b14593cfb297bc3ef1fcacd29163756297f80 /consul/configuration
parent7a97bbe06c0a8eb7b462d87b128c5ca3154eb582 (diff)
downloadinfrastructure-1850d9a6539ff88373508327eb9aa1e8832688fa.tar.gz
infrastructure-1850d9a6539ff88373508327eb9aa1e8832688fa.zip
[chat] Synapse finally accepts my registration file...
Diffstat (limited to 'consul/configuration')
-rw-r--r--consul/configuration/chat/fb2mx/config.yaml2
-rw-r--r--consul/configuration/chat/fb2mx/registration.yaml2
-rw-r--r--consul/configuration/chat/synapse/homeserver.yaml7
3 files changed, 8 insertions, 3 deletions
diff --git a/consul/configuration/chat/fb2mx/config.yaml b/consul/configuration/chat/fb2mx/config.yaml
index 1e2860f..751ca22 100644
--- a/consul/configuration/chat/fb2mx/config.yaml
+++ b/consul/configuration/chat/fb2mx/config.yaml
@@ -39,7 +39,7 @@ appservice:
# Community ID for bridged users (changes registration file) and rooms.
# Must be created manually.
- community_id: "fbusers"
+ community_id: "+fbusers@deuxfleurs.fr"
# Authentication tokens for AS <-> HS communication. Autogenerated; do not modify.
as_token: "This value is generated when generating the registration"
diff --git a/consul/configuration/chat/fb2mx/registration.yaml b/consul/configuration/chat/fb2mx/registration.yaml
index bbd4293..c3d8c05 100644
--- a/consul/configuration/chat/fb2mx/registration.yaml
+++ b/consul/configuration/chat/fb2mx/registration.yaml
@@ -5,7 +5,7 @@ namespaces:
users:
- exclusive: true
regex: '@facebook_.+:deuxfleurs.fr'
- group_id: fbusers
+ group_id: '+fbusers:deuxfleurs.fr'
url: http://fb2mx.service.2.cluster.deuxfleurs.fr:29319
sender_localpart: facebookbot
rate_limited: false
diff --git a/consul/configuration/chat/synapse/homeserver.yaml b/consul/configuration/chat/synapse/homeserver.yaml
index 119dd7c..9e0e97f 100644
--- a/consul/configuration/chat/synapse/homeserver.yaml
+++ b/consul/configuration/chat/synapse/homeserver.yaml
@@ -307,7 +307,8 @@ room_invite_state_types:
# A list of application service config file to use
-app_service_config_files: []
+app_service_config_files:
+ - "/etc/matrix-synapse/fb2mx_registration.yaml"
# macaroon_secret_key: <PRIVATE STRING>
@@ -402,4 +403,8 @@ password_config:
# notif_template_html: notif_mail.html
# notif_template_text: notif_mail.txt
# notif_for_new_users: True
+
+# Key that had to be added after some synapse updates to please matrix developers...
report_stats: false
+suppress_key_server_warning: true
+enable_group_creation: true