diff --git a/src/domain/session/room/timeline/TilesCollection.js b/src/domain/session/room/timeline/TilesCollection.js index 23d863d4..497c0b0d 100644 --- a/src/domain/session/room/timeline/TilesCollection.js +++ b/src/domain/session/room/timeline/TilesCollection.js @@ -239,7 +239,6 @@ export class TilesCollection extends BaseObservableList { getTileIndex(searchTile) { const idx = sortedIndex(this._tiles, searchTile, (searchTile, tile) => { - // negate result because we're switching the order of the params return searchTile.compare(tile); }); const foundTile = this._tiles[idx];