diff --git a/src/app/services/chat/message.service.ts b/src/app/services/chat/message.service.ts index d84e7c530..74e52a2e8 100644 --- a/src/app/services/chat/message.service.ts +++ b/src/app/services/chat/message.service.ts @@ -112,7 +112,6 @@ export class MessageService { if (environment.chatOffline) { this.redefinedMessage(ChatMessage) - alert('redifie') this.offline = false } @@ -136,9 +135,9 @@ export class MessageService { this.errorUploadingAttachment = false this.temporaryData = {} - alert('to send') + this.WsChatService.send({roomId:this.rid, msg: this.msg, attachments: this.attachments, file: this.file, localReference: this.localReference}).then(({message, requestId}) => { - alert('receive11') + console.log('message', message) let ChatMessage = message.result diff --git a/src/environments/environment.ts b/src/environments/environment.ts index cd809f519..6bf93dabc 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -13,7 +13,7 @@ export const environment = { domain: 'gabinetedigital.local', //gabinetedigital.local defaultuser: 'paulo.pinto@gabinetedigital.local',//paulo.pinto paulo.pinto@gabinetedigital.local defaultuserpwd: 'tabteste@006', //tabteste@006, - chatOffline: true + chatOffline: false }; /*