Quick ESLint issues fix
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user