fix if condition

This commit is contained in:
Michael Telatynski 2019-07-29 17:25:33 +01:00
parent ed1eb6dff6
commit 8c8482c7c6

View file

@ -563,6 +563,7 @@ class RoomCreationHandler(BaseHandler):
power_level_content_override = config.get("power_level_content_override")
if (
power_level_content_override
and "users" in power_level_content_override
and user_id not in power_level_content_override["users"]
):
raise SynapseError(