From 1fa4fe0b9a495d2b05f1886ec2575aca5219a7fe Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 21 Jul 2017 22:51:31 +0100 Subject: [PATCH] remove comments/commented code Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/structures/MessagePanel.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/components/structures/MessagePanel.js b/src/components/structures/MessagePanel.js index 2443a06128..40e6dac384 100644 --- a/src/components/structures/MessagePanel.js +++ b/src/components/structures/MessagePanel.js @@ -241,7 +241,6 @@ module.exports = React.createClass({ // TODO: Implement granular (per-room) hide options _shouldShowEvent: function(mxEv) { - // console.log("_shouldShowEvent ", mxEv.getId(), mxEv); const EventTile = sdk.getComponent('rooms.EventTile'); if (!EventTile.haveTileForEvent(mxEv)) { return false; // no tile = no show @@ -316,14 +315,6 @@ module.exports = React.createClass({ wantTile = false; } - // if (!this._shouldShowEvent(mxEv)) { - // Event is hidden but may be the read marker event - // if (mxEv.getId() === this.props.readMarkerEventId) { - // ret.push(this._getReadMarkerTile(this.props.readMarkerVisible)); - // } - // continue; - // } - // Wrap consecutive member events in a ListSummary, ignore if redacted if (isMembershipChange(mxEv) && wantTile) { let ts1 = mxEv.getTs();