diff --git a/src/components/views/rooms/RoomHeader.js b/src/components/views/rooms/RoomHeader.js
index 0bafc90fe5..9effc8fdde 100644
--- a/src/components/views/rooms/RoomHeader.js
+++ b/src/components/views/rooms/RoomHeader.js
@@ -218,9 +218,6 @@ module.exports = React.createClass({
}
@@ -266,6 +263,14 @@ module.exports = React.createClass({
);
}
+ var settings_button;
+ if (this.props.onSettingsClick) {
+ settings_button =
+
+
+
;
+ }
+
var leave_button;
if (this.props.onLeaveClick) {
leave_button =
@@ -291,6 +296,7 @@ module.exports = React.createClass({
if (!this.props.editing) {
right_row =
+ { settings_button }
{ forget_button }
{ leave_button }