Skip to content

Commit

Permalink
fix: プライベート公開範囲でリプライ時に公開範囲が引き継がれない問題
Browse files Browse the repository at this point in the history
  • Loading branch information
Esurio committed Aug 13, 2024
1 parent 391a39a commit 5f6acc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/components/MkPostForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ if (props.channel) {
}
// 公開以外へのリプライ時は元の公開範囲を引き継ぐ
if (props.reply && ['home', 'followers', 'specified'].includes(props.reply.visibility)) {
if (props.reply && ['home', 'followers', 'specified', 'private'].includes(props.reply.visibility)) {
if (props.reply.visibility === 'home' && visibility.value === 'followers') {
visibility.value = 'followers';
} else if (['home', 'followers'].includes(props.reply.visibility) && visibility.value === 'specified') {
Expand Down

0 comments on commit 5f6acc5

Please sign in to comment.