diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index f2dd98d35c..bb50d7f78e 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -238,6 +238,7 @@ module.exports = React.createClass({ if (room) { this.setState({ unsentMessageError: this._getUnsentMessageError(room), + showApps: this._shouldShowApps(room), }); this._onRoomLoaded(room); } @@ -272,11 +273,6 @@ module.exports = React.createClass({ } else if (room) { // Stop peeking because we have joined this room previously MatrixClientPeg.get().stopPeeking(); - this.setState({ - showApps: this._shouldShowApps(room), - unsentMessageError: this._getUnsentMessageError(room), - }); - this._onRoomLoaded(room); } },