summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-08-20 14:35:40 +0100
committerErik Johnston <erik@matrix.org>2015-08-20 14:35:40 +0100
commit9b63def3887779c7c9a1aeadd2d16df506155953 (patch)
tree3db5d8110da04f1e53c68ba284c854ce3bdc189f /synapse/handlers
parentMerge pull request #231 from matrix-org/erikj/pushers_store_last_token (diff)
downloadsynapse-9b63def3887779c7c9a1aeadd2d16df506155953.tar.xz
Add m.room.avatar to default power levels. Change default required power levels of such events to 50
Diffstat (limited to '')
-rw-r--r--synapse/handlers/room.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index 8108c2763d..c5d1001b50 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -247,10 +247,11 @@ class RoomCreationHandler(BaseHandler):
                 },
                 "users_default": 0,
                 "events": {
-                    EventTypes.Name: 100,
+                    EventTypes.Name: 50,
                     EventTypes.PowerLevels: 100,
                     EventTypes.RoomHistoryVisibility: 100,
-                    EventTypes.CanonicalAlias: 100,
+                    EventTypes.CanonicalAlias: 50,
+                    EventTypes.RoomAvatar: 50,
                 },
                 "events_default": 0,
                 "state_default": 50,