Fixed linting warnings in MessagePanel.js

pull/21833/head
Ayush PS 2021-04-28 10:02:20 +05:30
parent 123482952a
commit e2ce699130
1 changed files with 2 additions and 1 deletions

View File

@ -1101,7 +1101,8 @@ class RedactionGrouper {
let eventTiles = this.events.map((e, i) => {
senders.add(e.sender);
const prevEvent = i === 0 ? this.prevEvent : this.events[i - 1];
return panel._getTilesForEvent(prevEvent, e, e === lastShownEvent, isGrouped, this.nextEvent, this.nextEventTile);
return panel._getTilesForEvent(
prevEvent, e, e === lastShownEvent, isGrouped, this.nextEvent, this.nextEventTile);
}).reduce((a, b) => a.concat(b), []);
if (eventTiles.length === 0) {