This commit is contained in:
Peter Maquiran
2022-02-10 21:52:02 +01:00
parent 292625f274
commit 27e1ee0fe0
2 changed files with 3 additions and 4 deletions
+2 -3
View File
@@ -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
+1 -1
View File
@@ -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
};
/*