From a2eaf48bbd32ba8886dbfe485bdfa892a82fbfca Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 30 Aug 2022 22:50:45 +0200 Subject: Create in the Talk folder Signed-off-by: Joas Schilling --- src/components/NewMessageForm/NewMessageForm.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/components/NewMessageForm/NewMessageForm.vue b/src/components/NewMessageForm/NewMessageForm.vue index c3d62a70d..cee580881 100644 --- a/src/components/NewMessageForm/NewMessageForm.vue +++ b/src/components/NewMessageForm/NewMessageForm.vue @@ -651,7 +651,7 @@ export default { // Create text file and share it to a conversation async handleCreateTextFile() { - let filePath = this.textFileTitle + let filePath = this.$store.getters.getAttachmentFolder() + '/' + this.textFileTitle.replace('/', '') const fileTemplate = this.fileTemplateOptions[this.showTextFileDialog] if (!filePath.endsWith(fileTemplate.extension)) { -- cgit v1.2.3