change reference

This commit is contained in:
Peter Maquiran
2023-03-28 16:11:59 +01:00
parent 6f99c792dc
commit e1ac8583f3
7 changed files with 20 additions and 17 deletions
@@ -1136,7 +1136,7 @@ export class GroupMessagesPage implements OnInit, AfterViewInit, OnDestroy {
modal.present();
} else {
this.downloadFileFromBrowser("file", str)
this.downloadFileFromBrowser(msg.attachments[0].name, str)
this.downloadFileFromBrowser(msg.attachments[0].title, str)
}
} else {
@@ -1153,7 +1153,7 @@ export class GroupMessagesPage implements OnInit, AfterViewInit, OnDestroy {
});
modal.present();
} else {
this.openFile(str, msg.attachments[0].name, msg.file.type);
this.openFile(str, msg.attachments[0].title, msg.file.type);
}
}
}