Add an unstable feature flag for MSC3391 to the /versions endpoint (#15562)

This commit is contained in:
Andrew Morgan 2023-05-11 10:38:32 +01:00 committed by GitHub
parent 7e6ad62c49
commit 722ccc30b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

1
changelog.d/15562.misc Normal file
View file

@ -0,0 +1 @@
Declare unstable support for [MSC3391](https://github.com/matrix-org/matrix-spec-proposals/pull/3391) under `/_matrix/client/versions` if the experimental implementation is enabled.

View file

@ -125,6 +125,8 @@ class VersionsRestServlet(RestServlet):
"org.matrix.msc3912": self.config.experimental.msc3912_enabled,
# Adds support for unstable "intentional mentions" behaviour.
"org.matrix.msc3952_intentional_mentions": self.config.experimental.msc3952_intentional_mentions,
# Adds support for deleting account data.
"org.matrix.msc3391": self.config.experimental.msc3391_enabled,
},
},
)