From 993285b20fdc9c5c4ace44b79acd1a63cdd45521 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 18 Jun 2019 22:44:10 +0300 Subject: [PATCH] what --- src/components/post_status_form/post_status_form.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index b938fa1d2..a7874acde 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -179,14 +179,16 @@ const PostStatusForm = { sensitive: newStatus.nsfw, media: newStatus.files, store: this.$store, - inReplyToStatusId: this.replyTo + inReplyToStatusId: this.replyTo, + contentType: newStatus.contentType }).then((data) => { if (!data.error) { this.newStatus = { status: '', spoilerText: '', files: [], - visibility: newStatus.visibility + visibility: newStatus.visibility, + contentType: newStatus.contentType } this.$refs.mediaUpload.clearFile() this.$emit('posted')