Add /versions flag for MSC3952. (#15293)

This commit is contained in:
Patrick Cloke 2023-03-20 11:47:21 -04:00 committed by GitHub
parent f75a041f59
commit 25006acc17
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/15293.misc Normal file
View File

@ -0,0 +1 @@
Add a `/versions` flag for [MSC3952](https://github.com/matrix-org/matrix-spec-proposals/pull/3952).

View File

@ -122,6 +122,8 @@ class VersionsRestServlet(RestServlet):
is not None,
# Adds support for relation-based redactions as per MSC3912.
"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,
},
},
)