0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-01 10:18:54 +02:00

Add canonical alias to the default power levels

This commit is contained in:
Erik Johnston 2015-08-19 12:03:09 +01:00
parent 40da1f200d
commit d7272f8d9d
2 changed files with 2 additions and 0 deletions

View file

@ -76,6 +76,7 @@ class EventTypes(object):
Feedback = "m.room.message.feedback"
RoomHistoryVisibility = "m.room.history_visibility"
CanonicalAlias = "m.room.canonical_alias"
# These are used for validation
Message = "m.room.message"

View file

@ -250,6 +250,7 @@ class RoomCreationHandler(BaseHandler):
EventTypes.Name: 100,
EventTypes.PowerLevels: 100,
EventTypes.RoomHistoryVisibility: 100,
EventTypes.CanonicalAlias: 100,
},
"events_default": 0,
"state_default": 50,