remove comments/commented code
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
5808fce60e
commit
1fa4fe0b9a
1 changed files with 0 additions and 9 deletions
|
@ -241,7 +241,6 @@ module.exports = React.createClass({
|
||||||
|
|
||||||
// TODO: Implement granular (per-room) hide options
|
// TODO: Implement granular (per-room) hide options
|
||||||
_shouldShowEvent: function(mxEv) {
|
_shouldShowEvent: function(mxEv) {
|
||||||
// console.log("_shouldShowEvent ", mxEv.getId(), mxEv);
|
|
||||||
const EventTile = sdk.getComponent('rooms.EventTile');
|
const EventTile = sdk.getComponent('rooms.EventTile');
|
||||||
if (!EventTile.haveTileForEvent(mxEv)) {
|
if (!EventTile.haveTileForEvent(mxEv)) {
|
||||||
return false; // no tile = no show
|
return false; // no tile = no show
|
||||||
|
@ -316,14 +315,6 @@ module.exports = React.createClass({
|
||||||
wantTile = false;
|
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
|
// Wrap consecutive member events in a ListSummary, ignore if redacted
|
||||||
if (isMembershipChange(mxEv) && wantTile) {
|
if (isMembershipChange(mxEv) && wantTile) {
|
||||||
let ts1 = mxEv.getTs();
|
let ts1 = mxEv.getTs();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue