diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-01-05 12:08:03 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-05 12:08:03 -0500 |
commit | 877b45e8120c5f80ed0965b7c072fd0b8d7ce36a (patch) | |
tree | d13170d2c916666f3c39e81da2f936f82148a1dc /synapse/rest/client/capabilities.py | |
parent | Mention drop of support in changelog (diff) | |
download | synapse-877b45e8120c5f80ed0965b7c072fd0b8d7ce36a.tar.xz |
Include `io.element.thread` capability for MSC3440. (#11690)
Diffstat (limited to '')
-rw-r--r-- | synapse/rest/client/capabilities.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/rest/client/capabilities.py b/synapse/rest/client/capabilities.py index 2a3e24ae7e..5c0e3a5680 100644 --- a/synapse/rest/client/capabilities.py +++ b/synapse/rest/client/capabilities.py @@ -73,6 +73,9 @@ class CapabilitiesRestServlet(RestServlet): "enabled": self.config.registration.enable_3pid_changes } + if self.config.experimental.msc3440_enabled: + response["capabilities"]["io.element.thread"] = {"enabled": True} + return 200, response |