diff --git a/src/controllers/room.controller.ts b/src/controllers/room.controller.ts index 97358e1..a49108d 100644 --- a/src/controllers/room.controller.ts +++ b/src/controllers/room.controller.ts @@ -109,6 +109,7 @@ export default class RoomController { copilot: [], typing: [defaultDate, defaultDate], unseen: [0, 0], + lastMessageUpdatedAt: new Date(), }; } else { roomData = { @@ -116,6 +117,7 @@ export default class RoomController { copilot: [], typing: [defaultDate, defaultDate], unseen: [0, 0], + lastMessageUpdatedAt: new Date(), }; }