From b3e122d31f95c5a130ce7c41970984502798903c Mon Sep 17 00:00:00 2001 From: Vivian Lim Date: Wed, 27 Jun 2018 23:55:29 -0700 Subject: [PATCH] Carry forward content warnings in replies --- src/components/post_status_form/post_status_form.js | 6 ++++-- src/components/status/status.vue | 8 +++++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index 4f4c6aca..4f6cee9c 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -24,7 +24,8 @@ const PostStatusForm = { 'replyTo', 'repliedUser', 'attentions', - 'messageScope' + 'messageScope', + 'parentSpoilerText' ], components: { MediaUpload @@ -50,7 +51,8 @@ const PostStatusForm = { newStatus: { status: statusText, files: [], - visibility: this.messageScope || 'public' + visibility: this.messageScope || 'public', + spoilerText: this.parentSpoilerText || null }, caret: 0 } diff --git a/src/components/status/status.vue b/src/components/status/status.vue index cffa8e26..09e6b54d 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -105,7 +105,13 @@
- +