MSC4306: expose feature in the client version (#18722)

This commit is contained in:
Benjamin Bouvier 2025-07-29 20:39:11 +02:00 committed by GitHub
parent 5106818bd0
commit 106afe4984
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1 @@
Advertise experimental support for [MSC4306](https://github.com/matrix-org/matrix-spec-proposals/pull/4306) through `/_matrix/clients/versions` if enabled.

View File

@ -177,6 +177,8 @@ class VersionsRestServlet(RestServlet):
"uk.tcpip.msc4133": self.config.experimental.msc4133_enabled,
# MSC4155: Invite filtering
"org.matrix.msc4155": self.config.experimental.msc4155_enabled,
# MSC4306: Support for thread subscriptions
"org.matrix.msc4306": self.config.experimental.msc4306_enabled,
},
},
)