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.spoilerText = this.replySubject ?? ''
|
||||
defaultNewStatus.spoilerText = this.repliedSubjectString ?? ''
|
||||
defaultNewStatus.nsfw = this.userDefaultSensitive
|
||||
defaultNewStatus.visibility = scope
|
||||
defaultNewStatus.contentType = this.userDefaultPostContentType
|
||||
|
|
@ -331,9 +331,9 @@ const PostStatusForm = {
|
|||
? this.replyTo
|
||||
: undefined
|
||||
},
|
||||
replySubject() {
|
||||
if (!this.replySubject) return null
|
||||
const decodedSummary = ldUnescape(this.replySubject)
|
||||
repliedSubjectString() {
|
||||
if (!this.repliedSubject) return null
|
||||
const decodedSummary = ldUnescape(this.repliedSubject)
|
||||
const behavior = this.mergedConfig.subjectLineBehavior
|
||||
const startsWithRe = decodedSummary.match(/^re[: ]/i)
|
||||
if ((behavior !== 'noop' && startsWithRe) || behavior === 'masto') {
|
||||
|
|
|
|||
|
|
@ -233,7 +233,7 @@
|
|||
v-if="!disableVisibilitySelector"
|
||||
:show-all="showAllScopes"
|
||||
:user-default="userDefaultScope"
|
||||
:original-scope="copyMessageScope"
|
||||
:original-scope="repliedScope"
|
||||
:initial-scope="newStatus.visibility"
|
||||
:on-scope-change="changeVis"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue