Remove relevant console log,

This commit is contained in:
Eudes Inácio
2022-04-28 09:32:27 +01:00
parent 3021e8b0e1
commit 2826cea9df
153 changed files with 1001 additions and 1132 deletions
+5 -5
View File
@@ -242,12 +242,12 @@ export class RoomService {
if (typeof args[1] != 'object') {
this.userThatIsTyping = this.usernameToDisplayName(args[0])
console.log(this.userThatIsTyping, 'this.userThatIsTyping')
this.isTyping = args[1]
this.otherUserType = args[1]
this.readAllMessage()
// console.log(JSON.stringify(args))
//
// alert(JSON.stringify(args))
} else if(args[0]?.method == 'viewMessage' || args[1]?.method == 'viewMessage') {
@@ -255,7 +255,7 @@ export class RoomService {
} else if(args[0]?.method == 'deleteMessage' || args[1]?.method == 'deleteMessage') {
// alert('delete')
// console.log(args[0], 'receive delete message::()')
//
this.deleteMessage(args[1]?.method?._id)
} else {
@@ -395,7 +395,7 @@ export class RoomService {
return true
} else {
// console.log(_id,'==',this.messages[i]?._id, false)
//
}
}
@@ -612,7 +612,7 @@ export class RoomService {
await this.WsChatService.loadHistory(this.id, limit).then( async (chatHistory:chatHistory) => {
// console.log('load chatHistory', JSON.stringify(chatHistory))
//
const messagesId = this.messages.map((message)=> message._id)