From cfd6546fe901e0527315c5ac911e968e735f1ad1 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Thu, 3 Mar 2016 12:11:22 +0000 Subject: [PATCH] default missing state_default to 50, as per https://github.com/matrix-org/matrix-doc/pull/286/files --- src/components/views/rooms/RoomSettings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/rooms/RoomSettings.js b/src/components/views/rooms/RoomSettings.js index c811341610..eca4dc074b 100644 --- a/src/components/views/rooms/RoomSettings.js +++ b/src/components/views/rooms/RoomSettings.js @@ -282,7 +282,7 @@ module.exports = React.createClass({ var redact_level = parseInt(power_levels.redact); var invite_level = parseInt(power_levels.invite || 0); var send_level = parseInt(power_levels.events_default || 0); - var state_level = parseInt(power_levels.state_default || 0); + var state_level = parseInt(power_levels.state_default || 50); var default_user_level = parseInt(power_levels.users_default || 0); if (power_levels.ban == undefined) ban_level = 50;