Skip to content

Commit

Permalink
delete: console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
kyeahxx19 committed Sep 5, 2024
1 parent fb4be01 commit 51c363b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/domain/chat/chat.gateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,14 +143,11 @@ export class ChatGateway
userId: client.data.userId,
};
const adapter = this.server.sockets.adapter as any;
console.log(adapter);
console.log(adapter.rooms.get(chatData.roomId));
let read = true;
if (
adapter.rooms.get(chatData.roomId) &&
adapter.rooms.get(chatData.roomId) != undefined
) {
console.log(addChat);
this.chatService.addChat(addChat);
if (adapter.rooms.get(chatData.roomId).size < 2) {
read = false;
Expand Down

0 comments on commit 51c363b

Please sign in to comment.