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