diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-10-17 11:32:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-17 11:32:11 -0400 |
commit | 4283bd1cf9c3da2157c3642a7c4f105e9fac2636 (patch) | |
tree | f13dd6d01fafa2170d808f2060dee6a9ab5fca56 /synapse/config/experimental.py | |
parent | Bump psycopg2 from 2.9.3 to 2.9.4 (#14200) (diff) | |
download | synapse-4283bd1cf9c3da2157c3642a7c4f105e9fac2636.tar.xz |
Support filtering the /messages API by relation type (MSC3874). (#14148)
Gated behind an experimental configuration flag.
Diffstat (limited to 'synapse/config/experimental.py')
-rw-r--r-- | synapse/config/experimental.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/config/experimental.py b/synapse/config/experimental.py index f44655516e..f9a49451d8 100644 --- a/synapse/config/experimental.py +++ b/synapse/config/experimental.py @@ -117,3 +117,6 @@ class ExperimentalConfig(Config): self.msc3882_token_timeout = self.parse_duration( experimental.get("msc3882_token_timeout", "5m") ) + + # MSC3874: Filtering /messages with rel_types / not_rel_types. + self.msc3874_enabled: bool = experimental.get("msc3874_enabled", False) |