diff options
author | Michael Weimann <mail@michael-weimann.eu> | 2023-05-15 10:54:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-15 10:54:49 +0200 |
commit | 3690d5bd89e696264ed2d56759c216f47bf23fca (patch) | |
tree | 8b656052c50c0b465650a1804061230550328e82 | |
parent | Bump phonenumbers from 8.13.7 to 8.13.11 (#15590) (diff) | |
download | synapse-3690d5bd89e696264ed2d56759c216f47bf23fca.tar.xz |
Add an unstable feature flag for MSC3981 to the /versions endpoint (#15558)
Signed-off-by: Michael Weimann <michaelw@matrix.org> Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
-rw-r--r-- | changelog.d/15558.misc | 1 | ||||
-rw-r--r-- | synapse/rest/client/versions.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/changelog.d/15558.misc b/changelog.d/15558.misc new file mode 100644 index 0000000000..a7cfee2513 --- /dev/null +++ b/changelog.d/15558.misc @@ -0,0 +1 @@ +Add `org.matrix.msc3981` info to `client/versions`. diff --git a/synapse/rest/client/versions.py b/synapse/rest/client/versions.py index e9b56fc3f8..58c5b07390 100644 --- a/synapse/rest/client/versions.py +++ b/synapse/rest/client/versions.py @@ -126,6 +126,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, + # Whether recursively provide relations is supported. + "org.matrix.msc3981": self.config.experimental.msc3981_recurse_relations, # Adds support for deleting account data. "org.matrix.msc3391": self.config.experimental.msc3391_enabled, }, |