This commit is contained in:
Henry Jameson 2026-07-22 14:21:51 +03:00
commit ed3094ec47
2 changed files with 5 additions and 5 deletions

View file

@ -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') {

View file

@ -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"
/>