From ed3094ec4755be2b47544b0f1c982f58de21fad3 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 22 Jul 2026 14:21:51 +0300 Subject: [PATCH] fix --- src/components/post_status_form/post_status_form.js | 8 ++++---- src/components/post_status_form/post_status_form.vue | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/post_status_form/post_status_form.js b/src/components/post_status_form/post_status_form.js index dbb0ebb62..a34e9a3ec 100644 --- a/src/components/post_status_form/post_status_form.js +++ b/src/components/post_status_form/post_status_form.js @@ -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') { diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index f8d34f73c..aef20e0cc 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -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" />