diff --git a/synapse/api/auth.py b/synapse/api/auth.py index 64f605b9620760925307f58b8eba1301754bcf55..18f3d117b3d3567dc330fb4d4c866753dfb853e7 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