From 1810c17d24f2165d268c7c35be96a35b1b009758 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 22 Nov 2018 18:58:12 +0000 Subject: [PATCH] remove trace, add comment, ... --- src/components/structures/MatrixChat.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index 3d3aa52e57..b67dc7b352 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -837,8 +837,7 @@ export default React.createClass({ // room name and avatar from an invite email) _viewRoom: function(roomInfo) { this.focusComposer = true; - console.log("!!! MatrixChat._viewRoom", roomInfo); - console.trace(); + console.log("!!! MatrixChat._viewRoom", roomInfo); const newState = { currentRoomId: roomInfo.room_id || null, @@ -887,6 +886,9 @@ export default React.createClass({ if (roomInfo.event_id && roomInfo.highlighted) { presentedId += "/" + roomInfo.event_id; } + + + // TODO: only emit this when we're not in grid mode? this.notifyNewScreen('room/' + presentedId); newState.ready = true; this.setState(newState);