WIP ESLint fixes
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-12-03 11:16:14 +01:00
parent 1090a59aaf
commit bbf558bbf9
10 changed files with 86 additions and 78 deletions

View File

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