summary refs log tree commit diff
path: root/synapse/rest
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2021-03-18 16:34:47 +0100
committerBrendan Abolivier <babolivier@matrix.org>2021-03-18 16:34:47 +0100
commit405aeb0b2c40443d22ce8c265df18e81bd995b44 (patch)
tree34dc1487f416df1a73d1e0d25be0a703dfa0ae96 /synapse/rest
parentEnsure we use a copy of the event content dict before modifying it in seriali... (diff)
downloadsynapse-405aeb0b2c40443d22ce8c265df18e81bd995b44.tar.xz
Implement MSC3026: busy presence state
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..f387d29b57 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,
+                    # Supports the busy presence state described in MSC3026.
+                    "org.matrix.msc3026.busy_presence": True,
                 },
             },
         )