diff options
| author | Vivian Lim <vivlim@pm.me> | 2018-06-27 23:55:29 -0700 |
|---|---|---|
| committer | Vivian Lim <vvnl@pm.me> | 2018-06-28 23:39:01 -0700 |
| commit | b3e122d31f95c5a130ce7c41970984502798903c (patch) | |
| tree | fb07d66e635defdbe2a2057129554870e0b164a8 /src/components/post_status_form | |
| parent | 0554cac113555b948cdad3d9f14ec6f548c93c01 (diff) | |
Carry forward content warnings in replies
Diffstat (limited to 'src/components/post_status_form')
| -rw-r--r-- | src/components/post_status_form/post_status_form.js | 6 |
1 files 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 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 } |
