Add m.room.history_visibility to newly created rooms' m.room.power_levels
This commit is contained in:
parent
fb47c3cfbe
commit
1a3255b507
|
@ -575,6 +575,7 @@ class Auth(object):
|
||||||
levels_to_check = [
|
levels_to_check = [
|
||||||
("users_default", []),
|
("users_default", []),
|
||||||
("events_default", []),
|
("events_default", []),
|
||||||
|
("state_default", []),
|
||||||
("ban", []),
|
("ban", []),
|
||||||
("redact", []),
|
("redact", []),
|
||||||
("kick", []),
|
("kick", []),
|
||||||
|
|
|
@ -213,6 +213,7 @@ class RoomCreationHandler(BaseHandler):
|
||||||
"events": {
|
"events": {
|
||||||
EventTypes.Name: 100,
|
EventTypes.Name: 100,
|
||||||
EventTypes.PowerLevels: 100,
|
EventTypes.PowerLevels: 100,
|
||||||
|
EventTypes.RoomHistoryVisibility: 100,
|
||||||
},
|
},
|
||||||
"events_default": 0,
|
"events_default": 0,
|
||||||
"state_default": 50,
|
"state_default": 50,
|
||||||
|
|
Loading…
Reference in New Issue