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

This commit is contained in:
Patrick Cloke 2022-01-05 12:08:03 -05:00 committed by GitHub
parent 102f4d3598
commit 877b45e812
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -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