mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Include io.element.thread
capability for MSC3440. (#11690)
This commit is contained in:
parent
102f4d3598
commit
877b45e812
1
changelog.d/11690.misc
Normal file
1
changelog.d/11690.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
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
|
"enabled": self.config.registration.enable_3pid_changes
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if self.config.experimental.msc3440_enabled:
|
||||||
|
response["capabilities"]["io.element.thread"] = {"enabled": True}
|
||||||
|
|
||||||
return 200, response
|
return 200, response
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user