diff --git a/src/components/views/rooms/RoomSettings.js b/src/components/views/rooms/RoomSettings.js
index 46869c1773..23c2dbc93d 100644
--- a/src/components/views/rooms/RoomSettings.js
+++ b/src/components/views/rooms/RoomSettings.js
@@ -590,6 +590,11 @@ module.exports = React.createClass({
}
},
+ _openDevtools: function() {
+ const DevtoolsDialog = sdk.getComponent('dialogs.DevtoolsDialog');
+ Modal.createDialog(DevtoolsDialog, {roomId: this.props.room.roomId});
+ },
+
_renderEncryptionSection: function() {
const SettingsFlag = sdk.getComponent("elements.SettingsFlag");
@@ -942,6 +947,10 @@ module.exports = React.createClass({
;
}
+ devtoolsButton =
{ this.props.room.roomId }
{ this.props.room.getVersion() }