Quick ESLint issues fix
This commit is contained in:
@@ -158,7 +158,7 @@ export class RoomEventsManager {
|
||||
}
|
||||
|
||||
// First, process redactions to skip redacted events
|
||||
let redacted = new Set(
|
||||
const redacted = new Set(
|
||||
this.events
|
||||
.map((e) =>
|
||||
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 {
|
||||
let userReceipt = receiptsUsersMap.get(evt.sender);
|
||||
const userReceipt = receiptsUsersMap.get(evt.sender);
|
||||
|
||||
// Create fake receipt if none is available
|
||||
if (!userReceipt)
|
||||
|
||||
@@ -18,7 +18,7 @@ function getInitialFavicon(): HTMLLinkElement[] {
|
||||
return icons;
|
||||
}
|
||||
|
||||
let iconPath = getInitialFavicon()[0].getAttribute("href")!;
|
||||
const iconPath = getInitialFavicon()[0].getAttribute("href")!;
|
||||
|
||||
export function AppIconModifier(p: {
|
||||
numberUnread: number;
|
||||
|
||||
Reference in New Issue
Block a user