fix
This commit is contained in:
parent
d1bf0e607a
commit
ed3094ec47
2 changed files with 5 additions and 5 deletions
|
|
@ -309,7 +309,7 @@ const PostStatusForm = {
|
||||||
defaultNewStatus.mentions = ''
|
defaultNewStatus.mentions = ''
|
||||||
}
|
}
|
||||||
|
|
||||||
defaultNewStatus.spoilerText = this.replySubject ?? ''
|
defaultNewStatus.spoilerText = this.repliedSubjectString ?? ''
|
||||||
defaultNewStatus.nsfw = this.userDefaultSensitive
|
defaultNewStatus.nsfw = this.userDefaultSensitive
|
||||||
defaultNewStatus.visibility = scope
|
defaultNewStatus.visibility = scope
|
||||||
defaultNewStatus.contentType = this.userDefaultPostContentType
|
defaultNewStatus.contentType = this.userDefaultPostContentType
|
||||||
|
|
@ -331,9 +331,9 @@ const PostStatusForm = {
|
||||||
? this.replyTo
|
? this.replyTo
|
||||||
: undefined
|
: undefined
|
||||||
},
|
},
|
||||||
replySubject() {
|
repliedSubjectString() {
|
||||||
if (!this.replySubject) return null
|
if (!this.repliedSubject) return null
|
||||||
const decodedSummary = ldUnescape(this.replySubject)
|
const decodedSummary = ldUnescape(this.repliedSubject)
|
||||||
const behavior = this.mergedConfig.subjectLineBehavior
|
const behavior = this.mergedConfig.subjectLineBehavior
|
||||||
const startsWithRe = decodedSummary.match(/^re[: ]/i)
|
const startsWithRe = decodedSummary.match(/^re[: ]/i)
|
||||||
if ((behavior !== 'noop' && startsWithRe) || behavior === 'masto') {
|
if ((behavior !== 'noop' && startsWithRe) || behavior === 'masto') {
|
||||||
|
|
|
||||||
|
|
@ -233,7 +233,7 @@
|
||||||
v-if="!disableVisibilitySelector"
|
v-if="!disableVisibilitySelector"
|
||||||
:show-all="showAllScopes"
|
:show-all="showAllScopes"
|
||||||
:user-default="userDefaultScope"
|
:user-default="userDefaultScope"
|
||||||
:original-scope="copyMessageScope"
|
:original-scope="repliedScope"
|
||||||
:initial-scope="newStatus.visibility"
|
:initial-scope="newStatus.visibility"
|
||||||
:on-scope-change="changeVis"
|
:on-scope-change="changeVis"
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue