This commit is contained in:
Peter Maquiran
2023-08-11 17:02:51 +01:00
parent b1e5857c82
commit 2645d1e081
3 changed files with 9 additions and 6 deletions
+4
View File
@@ -572,6 +572,10 @@ export class RoomService {
*/
async send({file = null, attachments = null, temporaryData = {}, attachmentsModelData = {}}) {
if(file && this.message) {
this.send({})
}
const localReference = uuidv4();
let offlineChatMessage = {
@@ -686,7 +686,6 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
formData.append("blobFile", blob);
this.ChatSystemService.getDmRoom(roomId).send({
file: {
"type": "application/img",
+5 -5
View File
@@ -1,12 +1,12 @@
export let versionData = {
"shortSHA": "0671471f5",
"SHA": "0671471f59be9f3b0e6b86ed4cf0586e8951182b",
"shortSHA": "b1e5857c8",
"SHA": "b1e5857c823920ddf52aaaef26d6391ee5ad7347",
"branch": "developer-bug",
"lastCommitAuthor": "'Peter Maquiran'",
"lastCommitTime": "'Fri Aug 11 16:38:23 2023 +0100'",
"lastCommitTime": "'Fri Aug 11 16:46:06 2023 +0100'",
"lastCommitMessage": "fix",
"lastCommitNumber": "5146",
"lastCommitNumber": "5147",
"change": "",
"changeStatus": "On branch developer-bug\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/pages/chat/group-messages/group-contacts/group-contacts.page.html\n\tmodified: src/app/pages/chat/group-messages/group-contacts/group-contacts.page.ts\n\tmodified: src/app/shared/chat/group-messages/group-contacts/group-contacts.page.html\n\tmodified: src/app/shared/chat/group-messages/group-contacts/group-contacts.page.ts\n\tmodified: src/app/shared/popover/chat-popover/chat-popover.page.ts",
"changeStatus": "On branch developer-bug\nChanges to be committed:\n (use \"git restore --staged <file>...\" to unstage)\n\tmodified: src/app/services/chat/room.service.ts\n\tmodified: src/app/shared/chat/messages/messages.page.ts",
"changeAuthor": "peter.maquiran"
}