From 4ba7633897eebc0e635ba8d5d648655175f75916 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 23 Aug 2023 18:19:39 -0400 Subject: [PATCH] fix: msg ref --- src/upgrades/3.3.0/chat_room_refactor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/upgrades/3.3.0/chat_room_refactor.js b/src/upgrades/3.3.0/chat_room_refactor.js index 2585f1ad8b..2ab8e73280 100644 --- a/src/upgrades/3.3.0/chat_room_refactor.js +++ b/src/upgrades/3.3.0/chat_room_refactor.js @@ -59,7 +59,7 @@ module.exports = { const bulkSet = messageData.map( msg => [`message:${msg.mid}`, { roomId: roomId, - timestamp: m.timestamp, + timestamp: msg.timestamp, }] );