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

Commit

Permalink
Add /versions flag for MSC3952. (#15293)
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep authored Mar 20, 2023
1 parent f75a041 commit 25006ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/15293.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add a `/versions` flag for [MSC3952](https://github.com/matrix-org/matrix-spec-proposals/pull/3952).
2 changes: 2 additions & 0 deletions synapse/rest/client/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ def on_GET(self, request: Request) -> Tuple[int, JsonDict]:
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,
},
},
)
Expand Down

0 comments on commit 25006ac

Please sign in to comment.