remove comments/commented code

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2017-07-21 22:51:31 +01:00
parent 5808fce60e
commit 1fa4fe0b9a
No known key found for this signature in database
GPG key ID: 0435A1D4BBD34D64

View file

@ -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();