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" Feedback = "m.room.message.feedback"
RoomHistoryVisibility = "m.room.history_visibility" RoomHistoryVisibility = "m.room.history_visibility"
CanonicalAlias = "m.room.canonical_alias"
# These are used for validation # These are used for validation
Message = "m.room.message" Message = "m.room.message"

View File

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