From 96515c454423d9f7aba501f7c1d08d5327645f31 Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Wed, 2 Jan 2019 03:35:42 +0900 Subject: [PATCH] Resolve #3813 (#3814) --- src/client/app/desktop/views/components/post-form.vue | 6 ++++++ src/client/app/mobile/views/components/post-form.vue | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/client/app/desktop/views/components/post-form.vue b/src/client/app/desktop/views/components/post-form.vue index 98c16cd5d0..a971e3d057 100644 --- a/src/client/app/desktop/views/components/post-form.vue +++ b/src/client/app/desktop/views/components/post-form.vue @@ -221,6 +221,12 @@ export default Vue.extend({ }); } + // keep cw when reply + if (this.reply && this.reply.cw != null) { + this.useCw = true; + this.cw = this.reply.cw; + } + this.$nextTick(() => { // 書きかけの投稿を復元 if (!this.instant && !this.mention) { diff --git a/src/client/app/mobile/views/components/post-form.vue b/src/client/app/mobile/views/components/post-form.vue index 00d0eebd6a..f4bbc4fc0f 100644 --- a/src/client/app/mobile/views/components/post-form.vue +++ b/src/client/app/mobile/views/components/post-form.vue @@ -211,6 +211,12 @@ export default Vue.extend({ }); } + // keep cw when reply + if (this.reply && this.reply.cw != null) { + this.useCw = true; + this.cw = this.reply.cw; + } + this.focus(); this.$nextTick(() => {