diff options
author | Erik Johnston <erik@matrix.org> | 2015-04-07 18:08:38 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-04-07 18:08:38 +0100 |
commit | 38928c6609742d5ca33781f0cb88afab8f664225 (patch) | |
tree | 5544bb962e766daa62b5f0f4f24a0870f25d9996 /synapse | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into mysql (diff) | |
parent | Make demo script use --enable-registration (diff) | |
download | synapse-38928c6609742d5ca33781f0cb88afab8f664225.tar.xz |
Merge branch 'develop' of github.com:matrix-org/synapse into mysql
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/api/auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/api/auth.py b/synapse/api/auth.py index 64f605b962..18f3d117b3 100644 --- a/synapse/api/auth.py +++ b/synapse/api/auth.py @@ -486,7 +486,7 @@ class Auth(object): send_level = send_level_event.content.get("events", {}).get( event.type ) - if not send_level: + if send_level is None: if hasattr(event, "state_key"): send_level = send_level_event.content.get( "state_default", 50 |