diff options
| author | scarlett <nia@netbsd.org> | 2018-08-26 01:50:11 +0100 |
|---|---|---|
| committer | scarlett <nia@netbsd.org> | 2018-08-26 01:50:11 +0100 |
| commit | 54ac0dfefd168bcdc08d533684a6a6a7fcf69cbc (patch) | |
| tree | 047b8cb1f90a0eb06732f80a127d7b21f7d47918 /src/components/post_status_form | |
| parent | a7c6007d54d5e4f083a9bc8475d4041e78a3c2bf (diff) | |
Preserve subject in replies.
Diffstat (limited to 'src/components/post_status_form')
| -rw-r--r-- | src/components/post_status_form/post_status_form.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index cbff7827..7d40bc3c 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', + 'subject' ], components: { MediaUpload @@ -52,6 +53,7 @@ const PostStatusForm = { posting: false, highlighted: 0, newStatus: { + spoilerText: this.subject, status: statusText, nsfw: false, files: [], |
