From eea38ad05bd953ff83b91953239e349998cfb264 Mon Sep 17 00:00:00 2001 From: "tiago.kayaya" Date: Tue, 8 Feb 2022 15:41:40 +0100 Subject: [PATCH] save --- src/app/services/chat/ws-chat-methods.service.ts | 4 ++-- src/app/services/chat/ws-chat.service.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/services/chat/ws-chat-methods.service.ts b/src/app/services/chat/ws-chat-methods.service.ts index 6ea061412..9d3a6268f 100644 --- a/src/app/services/chat/ws-chat-methods.service.ts +++ b/src/app/services/chat/ws-chat-methods.service.ts @@ -187,12 +187,12 @@ export class WsChatMethodsService { */ private defaultSubtribe(id: any) { this.WsChatService.streamRoomMessages(id).then((subscription)=>{ - console.log('streamRoomMessages', subscription) + //console.log('streamRoomMessages', subscription) }) this.WsChatService.subStreamNotifyRoom(id, 'typing', false) this.WsChatService.streamNotifyRoomDeleteMessage(id).then((subscription)=>{ - console.log('streamNotifyRoomDeleteMessage', subscription); + //console.log('streamNotifyRoomDeleteMessage', subscription); }) } diff --git a/src/app/services/chat/ws-chat.service.ts b/src/app/services/chat/ws-chat.service.ts index 593b79276..d4904bf0c 100644 --- a/src/app/services/chat/ws-chat.service.ts +++ b/src/app/services/chat/ws-chat.service.ts @@ -657,11 +657,11 @@ updateRoomEventss(roomId, collection:string, funx: Function, ) { for (const [key, item] of Object.entries(this.wsMsgQueue)) { if(item.loginRequired == true && this.isLogin == true) { - console.log('run msgQueue ', key) + //console.log('run msgQueue ', key) this.ws.send(item); delete this.wsMsgQueue[key] } else if(item.loginRequired == false) { - console.log('run msgQueue ', key) + //console.log('run msgQueue ', key) this.ws.send(item); delete this.wsMsgQueue[key] }