Skip to content
Snippets Groups Projects
Commit d7272f8d authored by Erik Johnston's avatar Erik Johnston
Browse files

Add canonical alias to the default power levels

parent 40da1f20
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment