Appease the linter

This commit is contained in:
Travis Ralston 2019-02-27 18:29:48 -07:00
parent c908a6cf1e
commit bafe59fe28

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);