diff options
author | Erik Johnston <erik@matrix.org> | 2015-07-14 10:37:42 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-07-14 10:37:42 +0100 |
commit | 002a44ac1a59f101e3df18dee5ef7c3ad87440ed (patch) | |
tree | c6c68980e60912cbd8d624e7dc6f1e0da94e9ce3 /synapse/handlers/room.py | |
parent | Capitalize contants (diff) | |
download | synapse-002a44ac1a59f101e3df18dee5ef7c3ad87440ed.tar.xz |
s/everyone_ops/original_invitees_have_ops/
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r-- | synapse/handlers/room.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index 11f531dc75..c081efee3a 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -39,12 +39,12 @@ class RoomCreationHandler(BaseHandler): RoomCreationPreset.PRIVATE_CHAT: { "join_rules": JoinRules.INVITE, "history_visibility": "invited", - "everyone_ops": False, + "original_invitees_have_ops": False, }, RoomCreationPreset.PUBLIC_CHAT: { "join_rules": JoinRules.PUBLIC, "history_visibility": "shared", - "everyone_ops": False, + "original_invitees_have_ops": False, }, } @@ -248,7 +248,7 @@ class RoomCreationHandler(BaseHandler): "invite": 0, } - if config["everyone_ops"]: + if config["original_invitees_have_ops"]: for invitee in invite_list: power_level_content["users"][invitee] = 100 |