Carry forward content warnings in replies
This commit is contained in:
parent
0554cac113
commit
b3e122d31f
2 changed files with 11 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
|
|
@ -105,7 +105,13 @@
|
|||
</div>
|
||||
<div class="container" v-if="replying">
|
||||
<div class="reply-left"/>
|
||||
<post-status-form class="reply-body" :reply-to="status.id" :attentions="status.attentions" :repliedUser="status.user" :message-scope="status.visibility" v-on:posted="toggleReplying"/>
|
||||
<post-status-form class="reply-body"
|
||||
:reply-to="status.id"
|
||||
:attentions="status.attentions"
|
||||
:repliedUser="status.user"
|
||||
:message-scope="status.visibility"
|
||||
:parentSpoilerText="status.summary"
|
||||
v-on:posted="toggleReplying"/>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue