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 -2
View File
@@ -401,6 +401,7 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy {
}
async openChatOptions(ev?: any) {
const roomId = this.roomId
console.log(this.members);
const popover = await this.popoverController.create({
@@ -421,11 +422,11 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy {
this.bookMeeting();
}
else if(res['data'] == 'take-picture'){
this.fileService.addCameraPictureToChat(this.roomId);
this.fileService.addCameraPictureToChat(roomId);
//this.loadPicture();
}
else if(res['data'] == 'add-picture'){
this.fileService.addPictureToChat(this.roomId);
this.fileService.addPictureToChat(roomId);
//this.loadPicture();
}
else if(res['data'] == 'add-document'){