Skip to content

Node.js based forum software built for the modern web

fix: msg ref

Barış Soner Uşaklı4ba7633897ee
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,
}]
);