Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 3014217

Browse files
committed
Add MSC3981 info to client/versions
Signed-off-by: Michael Weimann <michaelw@matrix.org>
1 parent ab4535b commit 3014217

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

changelog.d/15558.bugfix

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add `org.matrix.msc3981` info to `client/versions`

synapse/rest/client/versions.py

+2
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ def on_GET(self, request: Request) -> Tuple[int, JsonDict]:
125125
"org.matrix.msc3912": self.config.experimental.msc3912_enabled,
126126
# Adds support for unstable "intentional mentions" behaviour.
127127
"org.matrix.msc3952_intentional_mentions": self.config.experimental.msc3952_intentional_mentions,
128+
# Whether recursively provide relations is supported.
129+
"org.matrix.msc3981": self.config.experimental.msc3981_recurse_relations,
128130
},
129131
},
130132
)

0 commit comments

Comments
 (0)