diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-07-12 08:39:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-12 12:39:25 +0000 |
commit | 5bdf01fccdee521390a03ea5a148eded7d0ad426 (patch) | |
tree | ea0a3165b78ef3e3a06a30073667b48d098705df /synapse | |
parent | Fix push for invites received over federation (#15820) (diff) | |
download | synapse-5bdf01fccdee521390a03ea5a148eded7d0ad426.tar.xz |
Fix running with an empty experimental features section. (#15925)
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/config/auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/config/auth.py b/synapse/config/auth.py index c7ab428f28..3b4c77f572 100644 --- a/synapse/config/auth.py +++ b/synapse/config/auth.py @@ -31,7 +31,7 @@ class AuthConfig(Config): # The default value of password_config.enabled is True, unless msc3861 is enabled. msc3861_enabled = ( - config.get("experimental_features", {}) + (config.get("experimental_features") or {}) .get("msc3861", {}) .get("enabled", False) ) |