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

This commit is contained in:
Benjamin Bouvier authored and GitHub committed 2025-07-29 13:39:11 -05:00
1 parent 5106818bd0
commit 106afe4984
2 files changed
+3

No files matched your search

+1
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.
+2
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,
},
},
)