aboutsummaryrefslogtreecommitdiff
path: root/app/config/configuration/chat/fb2mx/registration.yaml
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2020-09-12 20:17:07 +0200
committerQuentin <quentin@deuxfleurs.fr>2020-09-12 20:17:07 +0200
commita23e08ce20887efb4e158a02ffee1f775a0db89f (patch)
tree493a2cef5496aec74e57ad453574fdef6856f92b /app/config/configuration/chat/fb2mx/registration.yaml
parentfb4ffbc7faa0d123ce9bf817d240a8c670c494e3 (diff)
downloadinfrastructure-a23e08ce20887efb4e158a02ffee1f775a0db89f.tar.gz
infrastructure-a23e08ce20887efb4e158a02ffee1f775a0db89f.zip
Refactor 2
Diffstat (limited to 'app/config/configuration/chat/fb2mx/registration.yaml')
-rw-r--r--app/config/configuration/chat/fb2mx/registration.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/config/configuration/chat/fb2mx/registration.yaml b/app/config/configuration/chat/fb2mx/registration.yaml
new file mode 100644
index 0000000..c3d8c05
--- /dev/null
+++ b/app/config/configuration/chat/fb2mx/registration.yaml
@@ -0,0 +1,11 @@
+id: facebook
+as_token: '{{ key "secrets/chat/fb2mx/as_token" | trimSpace }}'
+hs_token: '{{ key "secrets/chat/fb2mx/hs_token" | trimSpace }}'
+namespaces:
+ users:
+ - exclusive: true
+ regex: '@facebook_.+:deuxfleurs.fr'
+ group_id: '+fbusers:deuxfleurs.fr'
+url: http://fb2mx.service.2.cluster.deuxfleurs.fr:29319
+sender_localpart: facebookbot
+rate_limited: false