diff options
author | DeepBlueV7.X <nicolas.werner@hotmail.de> | 2022-10-25 13:38:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-25 14:38:01 +0100 |
commit | 2d0ba3f89aaf9545d81c4027500e543ec70b68a6 (patch) | |
tree | a9830a6ea27b82ff04a749dadeafbc49ca7d9e27 /synapse/rest | |
parent | Remove unused `@lru_cache` decorator (#13595) (diff) | |
download | synapse-2d0ba3f89aaf9545d81c4027500e543ec70b68a6.tar.xz |
Implementation for MSC3664: Pushrules for relations (#11804)
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/client/capabilities.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/rest/client/capabilities.py b/synapse/rest/client/capabilities.py index 4237071c61..e84dde31b1 100644 --- a/synapse/rest/client/capabilities.py +++ b/synapse/rest/client/capabilities.py @@ -77,6 +77,11 @@ class CapabilitiesRestServlet(RestServlet): "enabled": True, } + if self.config.experimental.msc3664_enabled: + response["capabilities"]["im.nheko.msc3664.related_event_match"] = { + "enabled": self.config.experimental.msc3664_enabled, + } + return HTTPStatus.OK, response |