diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index 92775f75b3..2da21bbef7 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -1530,21 +1530,20 @@ module.exports = React.createClass({ e2eStatus={this.state.e2eStatus} />
-
- -
+
+ ); } @@ -1578,19 +1577,18 @@ module.exports = React.createClass({ e2eStatus={this.state.e2eStatus} />
-
- -
+
+ ); } @@ -1646,6 +1644,7 @@ module.exports = React.createClass({ const hiddenHighlightCount = this._getHiddenHighlightCount(); let aux = null; + let previewBar; let hideCancel = false; if (this.state.forwardingEvent !== null) { aux = ; @@ -1673,7 +1672,7 @@ module.exports = React.createClass({ invitedEmail = this.props.thirdPartyInvite.invitedEmail; } hideCancel = true; - aux = ( + previewBar = ( + { previewBar } { messageComposer }