Quick ESLint issues fix
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 09:48:03 +01:00
parent 30518f3ca3
commit 1090a59aaf
2 changed files with 3 additions and 3 deletions

View File

@@ -158,7 +158,7 @@ export class RoomEventsManager {
} }
// First, process redactions to skip redacted events // First, process redactions to skip redacted events
let redacted = new Set( const redacted = new Set(
this.events this.events
.map((e) => .map((e) =>
e.data.type === "m.room.redaction" ? e.data.redacts : undefined e.data.type === "m.room.redaction" ? e.data.redacts : undefined
@@ -186,7 +186,7 @@ export class RoomEventsManager {
// Else it is a new message; update receipts if needed // Else it is a new message; update receipts if needed
else { else {
let userReceipt = receiptsUsersMap.get(evt.sender); const userReceipt = receiptsUsersMap.get(evt.sender);
// Create fake receipt if none is available // Create fake receipt if none is available
if (!userReceipt) if (!userReceipt)

View File

@@ -18,7 +18,7 @@ function getInitialFavicon(): HTMLLinkElement[] {
return icons; return icons;
} }
let iconPath = getInitialFavicon()[0].getAttribute("href")!; const iconPath = getInitialFavicon()[0].getAttribute("href")!;
export function AppIconModifier(p: { export function AppIconModifier(p: {
numberUnread: number; numberUnread: number;