mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-08 08:02:14 -04:00
Implement account status endpoints (MSC3720) (#12001)
See matrix-org/matrix-doc#3720 Co-authored-by: Sean Quah <8349537+squahtx@users.noreply.github.com>
This commit is contained in:
parent
94a396e7c4
commit
250104d357
11 changed files with 511 additions and 6 deletions
|
@ -75,6 +75,11 @@ class CapabilitiesRestServlet(RestServlet):
|
|||
if self.config.experimental.msc3440_enabled:
|
||||
response["capabilities"]["io.element.thread"] = {"enabled": True}
|
||||
|
||||
if self.config.experimental.msc3720_enabled:
|
||||
response["capabilities"]["org.matrix.msc3720.account_status"] = {
|
||||
"enabled": True,
|
||||
}
|
||||
|
||||
return HTTPStatus.OK, response
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue