This commit is contained in:
Peter Maquiran
2022-02-07 20:35:52 +01:00
parent 0d9adb0bb8
commit c74594fe49
@@ -536,18 +536,21 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
this.wsChatMethodsService.getDmRoom(roomId).send({
file: {
"type": "application/img",
"type": file.type,
"guid": '',
"image_url": imageData
"image_url": imageData,
},
attachments: [{
"title": file.name ,
"text": "description",
"name": file.name ,
// "text": "description",
"image_url": imageData,
"title_link_download": false,
}],
temporaryData: formData
})
}