fix bug lasMessage

This commit is contained in:
tiago.kayaya
2021-10-07 15:30:36 +01:00
parent 19a0076a4d
commit 5d1f0d2705
11 changed files with 36 additions and 21 deletions
+3 -1
View File
@@ -111,7 +111,7 @@ export class FileService {
}
}
addPictureToChat(roomId:string) {
addPictureToChat(roomId) {
const input = this.fileLoaderService.createInput({
accept: ['image/apng', 'image/jpeg', 'image/png']
})
@@ -141,6 +141,8 @@ export class FileService {
}
}
console.log(this.capturedImage)
this.chatService.sendMessage(body).subscribe(res=> {
loader.remove();
//console.log(res);