From 68cdff1159b6ea075b7a4ec5a918fadc5fc33475 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Mon, 14 Dec 2015 11:07:59 +0000 Subject: [PATCH] Fix 'Create room' and 'Settings' buttons These buttons were broken by PR #49... wire them up correctly. --- src/components/structures/MatrixChat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index 5cfe456692..052450178f 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -327,7 +327,7 @@ module.exports = React.createClass({ this._updateScrollMap(); this.setState({ - page_type: this.PageTypes.RoomDirectory, + page_type: pageType, }); },