Fix default power level for room creator

This commit is contained in:
Tulir Asokan 2023-02-12 14:30:50 +02:00
parent 543fcb6f17
commit e3b312a8ca

View File

@ -1191,7 +1191,7 @@ class RoomCreationHandler:
events_to_send.append((power_event, power_context)) events_to_send.append((power_event, power_context))
else: else:
power_level_content: JsonDict = { power_level_content: JsonDict = {
"users": {creator_id: 100}, "users": {creator_id: 9001},
"users_default": 0, "users_default": 0,
"events": { "events": {
EventTypes.Name: 50, EventTypes.Name: 50,