Carry forward content warnings in replies

This commit is contained in:
Vivian Lim 2018-06-27 23:55:29 -07:00 committed by Vivian Lim
parent 0554cac113
commit b3e122d31f
2 changed files with 11 additions and 3 deletions

View file

@ -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
}