mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-08 07:28:26 +00:00
Appease the linter
This commit is contained in:
@@ -432,7 +432,7 @@ class RoomListStore extends Store {
|
|||||||
const listsClone = {};
|
const listsClone = {};
|
||||||
|
|
||||||
// Micro optimization: Support lazily loading the last timestamp in a room
|
// Micro optimization: Support lazily loading the last timestamp in a room
|
||||||
let timestampCache = {}; // {roomId => ts}
|
const timestampCache = {}; // {roomId => ts}
|
||||||
const lastTimestamp = (room) => {
|
const lastTimestamp = (room) => {
|
||||||
if (!timestampCache[room.roomId]) {
|
if (!timestampCache[room.roomId]) {
|
||||||
timestampCache[room.roomId] = this._tsOfNewestEvent(room);
|
timestampCache[room.roomId] = this._tsOfNewestEvent(room);
|
||||||
|
|||||||
Reference in New Issue
Block a user