diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2023-05-11 10:38:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-11 10:38:32 +0100 |
commit | 722ccc30b5b66592099c39c3622e48fcf552d2e2 (patch) | |
tree | 5e6ec6c4d028ad32572d5b7698dc6c2d62513d89 | |
parent | Fix documented path to largest rooms statistics endpoint. (#15560) (diff) | |
download | synapse-722ccc30b5b66592099c39c3622e48fcf552d2e2.tar.xz |
Add an unstable feature flag for MSC3391 to the /versions endpoint (#15562)
-rw-r--r-- | changelog.d/15562.misc | 1 | ||||
-rw-r--r-- | synapse/rest/client/versions.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/changelog.d/15562.misc b/changelog.d/15562.misc new file mode 100644 index 0000000000..eeeb553d8f --- /dev/null +++ b/changelog.d/15562.misc @@ -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. \ No newline at end of file diff --git a/synapse/rest/client/versions.py b/synapse/rest/client/versions.py index 5c98916ec2..2d2be6ef38 100644 --- a/synapse/rest/client/versions.py +++ b/synapse/rest/client/versions.py @@ -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, }, }, ) |