Stronger default power levels

This commit is contained in:
Neil Alexander 2022-09-06 17:25:17 +01:00
parent 70cd9a902c
commit 489ccc1c60
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -53,6 +53,9 @@ func InitialPowerLevelsContent(roomCreator string) (c gomatrixserverlib.PowerLev
"m.room.history_visibility": 100, "m.room.history_visibility": 100,
"m.room.canonical_alias": 50, "m.room.canonical_alias": 50,
"m.room.avatar": 50, "m.room.avatar": 50,
"m.room.tombstone": 100,
"m.room.encryption": 100,
"m.room.server_acl": 100,
} }
c.Users = map[string]int64{roomCreator: 100} c.Users = map[string]int64{roomCreator: 100}
return c return c