Fix default power level for room creator

This commit is contained in:
Tulir Asokan 2023-02-12 14:30:50 +02:00
parent bbbd39b46d
commit d0a50be89e

View File

@ -1184,7 +1184,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,