diff options
author | Mathieu Velten <mathieuv@matrix.org> | 2023-08-22 16:47:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-22 14:47:59 +0000 |
commit | 0ba17777be81ba9457defb407112b664042a14d2 (patch) | |
tree | 3eea0de6202c4686023bce0c08691eb9c9f90342 /synapse/config/experimental.py | |
parent | Add an admin endpoint to allow authorizing server to signal token revocations... (diff) | |
download | synapse-0ba17777be81ba9457defb407112b664042a14d2.tar.xz |
Disable `m.3pid_changes` capability when MSC3861 is enabled. (#16134)
Diffstat (limited to 'synapse/config/experimental.py')
-rw-r--r-- | synapse/config/experimental.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/synapse/config/experimental.py b/synapse/config/experimental.py index d4cf9a0555..277ea4675b 100644 --- a/synapse/config/experimental.py +++ b/synapse/config/experimental.py @@ -223,6 +223,12 @@ class MSC3861: ("session_lifetime",), ) + if root.registration.enable_3pid_changes: + raise ConfigError( + "enable_3pid_changes cannot be enabled when OAuth delegation is enabled", + ("enable_3pid_changes",), + ) + @attr.s(auto_attribs=True, frozen=True, slots=True) class MSC3866Config: |