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
@@ -380,10 +380,12 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
takePicture(){
this.fileService.addCameraPictureToChat(this.roomId);
const roomId = this.roomId
this.fileService.addCameraPictureToChat(roomId);
}
addImage(){
this.fileService.addPictureToChat(this.roomId);
const roomId = this.roomId
this.fileService.addPictureToChat(roomId);
}
addFile(){
this.fileService.addDocumentToChat(this.roomId);