summary refs log tree commit diff
path: root/synapse/rest/well_known.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2021-04-28 16:41:37 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2021-04-28 16:41:37 +0100
commita195efa1feec780220c764726a43807ede44410b (patch)
tree8c059db2720336b2118d6bf1310e9570b4cceb72 /synapse/rest/well_known.py
parentMerge remote-tracking branch 'origin/release-v1.33.0' into develop (diff)
downloadsynapse-a195efa1feec780220c764726a43807ede44410b.tar.xz
Add Element call information to well-known client json
Diffstat (limited to '')
-rw-r--r--synapse/rest/well_known.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/synapse/rest/well_known.py b/synapse/rest/well_known.py
index 19ac3af337..21e921f129 100644
--- a/synapse/rest/well_known.py
+++ b/synapse/rest/well_known.py
@@ -39,6 +39,13 @@ class WellKnownBuilder:
 
         result = {"m.homeserver": {"base_url": self._config.public_baseurl}}
 
+        # Point to BigBlueButton widget for calls
+        result.update({
+            "io.element.call_behaviour": {
+                "widget_build_url": "http://localhost:9999/bigbluebutton-widget.json",
+            }
+        })
+
         if self._config.default_identity_server:
             result["m.identity_server"] = {
                 "base_url": self._config.default_identity_server