This commit is contained in:
Peter Maquiran
2022-12-19 20:15:56 +01:00
parent 6ab80119fd
commit 71493c4ae8
3 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -611,7 +611,7 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy {
async takePicture() {
alert("!");
// alert("!");
const roomId = this.roomId
@@ -620,7 +620,7 @@ export class MessagesPage implements OnInit, AfterViewInit, OnDestroy {
const lastphoto: any = await this.fileService.loadFiles();
const { capturedImage, capturedImageTitle } = await this.fileService.loadFileData(lastphoto);
alert('!!');
// alert('!!');
const base64 = await fetch(capturedImage);
const blob = await base64.blob();
const formData = new FormData();