Appease the linter
This commit is contained in:
parent
c908a6cf1e
commit
bafe59fe28
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue