forked from MirrorHub/synapse
Add m.room.history_visibility to newly created rooms' m.room.power_levels
This commit is contained in:
parent
fb47c3cfbe
commit
1a3255b507
2 changed files with 2 additions and 0 deletions
|
@ -575,6 +575,7 @@ class Auth(object):
|
|||
levels_to_check = [
|
||||
("users_default", []),
|
||||
("events_default", []),
|
||||
("state_default", []),
|
||||
("ban", []),
|
||||
("redact", []),
|
||||
("kick", []),
|
||||
|
|
|
@ -213,6 +213,7 @@ class RoomCreationHandler(BaseHandler):
|
|||
"events": {
|
||||
EventTypes.Name: 100,
|
||||
EventTypes.PowerLevels: 100,
|
||||
EventTypes.RoomHistoryVisibility: 100,
|
||||
},
|
||||
"events_default": 0,
|
||||
"state_default": 50,
|
||||
|
|
Loading…
Reference in a new issue