From bafe59fe28a84c7ff70376f475afc289a865a61e Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 27 Feb 2019 18:29:48 -0700 Subject: [PATCH] Appease the linter --- src/stores/RoomListStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/RoomListStore.js b/src/stores/RoomListStore.js index f1e45cf1d8..e8946d5f77 100644 --- a/src/stores/RoomListStore.js +++ b/src/stores/RoomListStore.js @@ -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);