s/everyone_ops/original_invitees_have_ops/
parent
b49a30a972
commit
002a44ac1a
|
@ -39,12 +39,12 @@ class RoomCreationHandler(BaseHandler):
|
||||||
RoomCreationPreset.PRIVATE_CHAT: {
|
RoomCreationPreset.PRIVATE_CHAT: {
|
||||||
"join_rules": JoinRules.INVITE,
|
"join_rules": JoinRules.INVITE,
|
||||||
"history_visibility": "invited",
|
"history_visibility": "invited",
|
||||||
"everyone_ops": False,
|
"original_invitees_have_ops": False,
|
||||||
},
|
},
|
||||||
RoomCreationPreset.PUBLIC_CHAT: {
|
RoomCreationPreset.PUBLIC_CHAT: {
|
||||||
"join_rules": JoinRules.PUBLIC,
|
"join_rules": JoinRules.PUBLIC,
|
||||||
"history_visibility": "shared",
|
"history_visibility": "shared",
|
||||||
"everyone_ops": False,
|
"original_invitees_have_ops": False,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -248,7 +248,7 @@ class RoomCreationHandler(BaseHandler):
|
||||||
"invite": 0,
|
"invite": 0,
|
||||||
}
|
}
|
||||||
|
|
||||||
if config["everyone_ops"]:
|
if config["original_invitees_have_ops"]:
|
||||||
for invitee in invite_list:
|
for invitee in invite_list:
|
||||||
power_level_content["users"][invitee] = 100
|
power_level_content["users"][invitee] = 100
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue