summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-10-07 16:49:01 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2020-11-10 19:04:49 +0000
commitf7d11de227c4cb6d60d3e265e1490a453e995bfd (patch)
tree6503fd69066b9e32d75b6b674df08e84df754509 /synapse/rest
parentAdd new experimental room version for knocking (diff)
downloadsynapse-f7d11de227c4cb6d60d3e265e1490a453e995bfd.tar.xz
Add `xyz.amorgan.knock` /versions string
Diffstat (limited to 'synapse/rest')
-rw-r--r--synapse/rest/client/versions.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/rest/client/versions.py b/synapse/rest/client/versions.py
index d24a199318..7a5c739b23 100644
--- a/synapse/rest/client/versions.py
+++ b/synapse/rest/client/versions.py
@@ -81,6 +81,8 @@ class VersionsRestServlet(RestServlet):
                     "io.element.e2ee_forced.public": self.e2ee_forced_public,
                     "io.element.e2ee_forced.private": self.e2ee_forced_private,
                     "io.element.e2ee_forced.trusted_private": self.e2ee_forced_trusted_private,
+                    # Implements additional endpoints and features as described in MSC2403
+                    "xyz.amorgan.knock": True,
                 },
             },
         )