WIP ESLint fixes
This commit is contained in:
@@ -236,7 +236,7 @@ export class RoomEventsManager {
|
||||
|
||||
// Adapt receipts to be event-indexed
|
||||
this.receiptsEventsMap.clear();
|
||||
for (const [_userId, receipt] of receiptsUsersMap) {
|
||||
for (const receipt of [...receiptsUsersMap.values()]) {
|
||||
if (!this.receiptsEventsMap.has(receipt.event_id))
|
||||
this.receiptsEventsMap.set(receipt.event_id, [receipt]);
|
||||
else this.receiptsEventsMap.get(receipt.event_id)!.push(receipt);
|
||||
|
||||
Reference in New Issue
Block a user