Appease the linter

pull/21833/head
Travis Ralston 2019-02-27 18:29:48 -07:00
parent c908a6cf1e
commit bafe59fe28
1 changed files with 1 additions and 1 deletions

View File

@ -432,7 +432,7 @@ class RoomListStore extends Store {
const listsClone = {};
// Micro optimization: Support lazily loading the last timestamp in a room
let timestampCache = {}; // {roomId => ts}
const timestampCache = {}; // {roomId => ts}
const lastTimestamp = (room) => {
if (!timestampCache[room.roomId]) {
timestampCache[room.roomId] = this._tsOfNewestEvent(room);