From 30142179b8404bf4721a7f6205fe5ad948e7855b Mon Sep 17 00:00:00 2001 From: Michael Weimann Date: Tue, 9 May 2023 20:31:46 +0200 Subject: [PATCH] Add MSC3981 info to client/versions Signed-off-by: Michael Weimann --- changelog.d/15558.bugfix | 1 + synapse/rest/client/versions.py | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 changelog.d/15558.bugfix diff --git a/changelog.d/15558.bugfix b/changelog.d/15558.bugfix new file mode 100644 index 000000000000..d3fbaca77ed1 --- /dev/null +++ b/changelog.d/15558.bugfix @@ -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 59aed66464e5..7cb85665be0f 100644 --- a/synapse/rest/client/versions.py +++ b/synapse/rest/client/versions.py @@ -125,6 +125,8 @@ def on_GET(self, request: Request) -> Tuple[int, JsonDict]: "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, }, }, )