diff options
author | Neil Johnson <neil@matrix.org> | 2019-01-22 17:47:00 +0000 |
---|---|---|
committer | Neil Johnson <neil@matrix.org> | 2019-01-22 17:47:00 +0000 |
commit | c99c2d58d775a7a7bcbcae426fed608d6a0e8ee3 (patch) | |
tree | d58f70cc03c5bfbac2511a2facbefea084eda72e /synapse/config/server.py | |
parent | Fix None guard in config.server.is_threepid_reserved (diff) | |
download | synapse-c99c2d58d775a7a7bcbcae426fed608d6a0e8ee3.tar.xz |
move guard out of is_threepid_reserved and into register.py
Diffstat (limited to 'synapse/config/server.py')
-rw-r--r-- | synapse/config/server.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py index 927c54ee5b..a915bb8b64 100644 --- a/synapse/config/server.py +++ b/synapse/config/server.py @@ -429,8 +429,6 @@ def is_threepid_reserved(reserved_threepids, threepid): Returns: boolean Is the threepid undertest reserved_user """ - if not threepid: - return False for tp in reserved_threepids: if (threepid['medium'] == tp['medium'] and threepid['address'] == tp['address']): |