This commit is contained in:
Peter Maquiran
2022-02-07 20:52:07 +01:00
parent c74594fe49
commit cef4c39d6e
5 changed files with 18 additions and 6 deletions
@@ -466,6 +466,7 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
temporaryData: formData,
attachments: [{
"title": capturedImageTitle ,
"image_url": capturedImage,
"text": "description",
"title_link_download": false,
}]
@@ -536,15 +537,15 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
this.wsChatMethodsService.getDmRoom(roomId).send({
file: {
"type": file.type,
"type": "application/img",
"guid": '',
"image_url": imageData,
"image_url": imageData, // GPR
},
attachments: [{
"title": file.name ,
"name": file.name ,
// "text": "description",
"image_url": imageData,
"image_url": imageData, // rocketchat
"title_link_download": false,
}],
temporaryData: formData