From 97387db0148d01d1ad171907721853a51d64df80 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Tue, 24 Jan 2017 16:40:26 +0000 Subject: [PATCH] Reduce log spam: Revert a16aeeef2a0f16efedf7e6616cdf3c2c8752a077 As per #riot-dev, this is no longer required. --- src/components/structures/MatrixChat.js | 6 ++---- src/dispatcher.js | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index 20d59e22ec..cb61041d48 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -259,8 +259,6 @@ module.exports = React.createClass({ }, onAction: function(payload) { - console.log("onAction: "+payload.action); - var roomIndexDelta = 1; var self = this; @@ -1008,8 +1006,8 @@ module.exports = React.createClass({ var ForgotPassword = sdk.getComponent('structures.login.ForgotPassword'); var LoggedInView = sdk.getComponent('structures.LoggedInView'); - console.log("rendering; loading="+this.state.loading+"; screen="+this.state.screen + - "; logged_in="+this.state.logged_in+"; ready="+this.state.ready); + // console.log("rendering; loading="+this.state.loading+"; screen="+this.state.screen + + // "; logged_in="+this.state.logged_in+"; ready="+this.state.ready); if (this.state.loading) { var Spinner = sdk.getComponent('elements.Spinner'); diff --git a/src/dispatcher.js b/src/dispatcher.js index 11c79f58ee..9864cb3807 100644 --- a/src/dispatcher.js +++ b/src/dispatcher.js @@ -28,7 +28,6 @@ class MatrixDispatcher extends flux.Dispatcher { * for. */ dispatch(payload, sync) { - console.log("Dispatch: "+payload.action); if (sync) { super.dispatch(payload); } else {