Skip to content
Snippets Groups Projects
Unverified Commit 877b45e8 authored by Patrick Cloke's avatar Patrick Cloke Committed by GitHub
Browse files

Include `io.element.thread` capability for MSC3440. (#11690)

parent 102f4d35
No related branches found
No related tags found
No related merge requests found
Update the `/capabilities` response to include whether support for [MSC3440](https://github.com/matrix-org/matrix-doc/pull/3440) is available.
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment