summary refs log tree commit diff
path: root/synapse/rest/client/versions.py
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-11-01 17:04:45 +0000
committerGitHub <noreply@github.com>2019-11-01 17:04:45 +0000
commitf496d2587723b0e802c49c210476266a19733f55 (patch)
tree9a2ea1817fdddec2f719e4ffe5d3150bf6f8599c /synapse/rest/client/versions.py
parentFactor out an _AsyncEventContextImpl (#6298) (diff)
parentIncorporate review (diff)
downloadsynapse-f496d2587723b0e802c49c210476266a19733f55.tar.xz
Merge pull request #6301 from matrix-org/babolivier/msc2326
Implement MSC2326 (label based filtering)
Diffstat (limited to 'synapse/rest/client/versions.py')
-rw-r--r--synapse/rest/client/versions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/rest/client/versions.py b/synapse/rest/client/versions.py
index 1044ae7b4e..bb30ce3f34 100644
--- a/synapse/rest/client/versions.py
+++ b/synapse/rest/client/versions.py
@@ -65,6 +65,9 @@ class VersionsRestServlet(RestServlet):
                     "m.require_identity_server": False,
                     # as per MSC2290
                     "m.separate_add_and_bind": True,
+                    # Implements support for label-based filtering as described in
+                    # MSC2326.
+                    "org.matrix.label_based_filtering": True,
                 },
             },
         )