This commit is contained in:
Peter Maquiran
2022-02-10 21:27:48 +01:00
parent 55d42cb2fc
commit dddc41bc80
5 changed files with 20 additions and 11 deletions
+2 -2
View File
@@ -106,7 +106,7 @@ export class MessageService {
this.sendAttempt++;
if(!this.hasFile) {
this.WsChatService.send({roomId:this.rid, msg:this.msg, requestId: this.localReference}).then(({message, requestId}) => {
this.WsChatService.send({roomId:this.rid, msg:this.msg, localReference: this.localReference}).then(({message, requestId}) => {
let ChatMessage = message.result
if (environment.chatOffline) {
@@ -137,7 +137,7 @@ export class MessageService {
this.temporaryData = {}
alert('to send')
this.WsChatService.send({roomId:this.rid, msg: this.msg, attachments: this.attachments, file: this.file, requestId: this.localReference}).then(({message, requestId}) => {
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