Mobile send word file

This commit is contained in:
Eudes Inácio
2022-04-05 17:39:14 +01:00
parent 8f2ea2a0c2
commit 74a9b787e9
3 changed files with 11 additions and 8 deletions
+2
View File
@@ -239,6 +239,8 @@ export class MessageService {
console.log(downloadFile)
} else if (this.file.type == 'application/audio') {
downloadFile = new Uint8Array(event.body).reduce((data, byte) => data + String.fromCharCode(byte), '');
} else if (this.file.type == 'application/vnd.openxmlformats-officedocument.wordprocessingml.document') {
downloadFile = new Uint8Array(event.body).reduce((data, byte) => data + String.fromCharCode(byte), '');
}
this.attachments[0] = {