mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
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 = [
|
||||
("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 New Issue
Block a user