From a46bfc7c14e3eac7abe519400ff8fe05fff54602 Mon Sep 17 00:00:00 2001 From: "A.Yamamoto" <49822810+na2na-p@users.noreply.github.com> Date: Mon, 3 Apr 2023 11:23:03 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=AC=E3=83=93=E3=83=A5=E3=83=BC=E5=AF=BE?= =?UTF-8?q?=E5=BF=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Acid Chicken (硫酸鶏) --- packages/frontend/src/components/MkPostForm.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue index f417d8b6c7..2f1b74baad 100644 --- a/packages/frontend/src/components/MkPostForm.vue +++ b/packages/frontend/src/components/MkPostForm.vue @@ -592,11 +592,7 @@ async function post(ev?: MouseEvent) { text.includes('$[scale') || text.includes('$[position'); - // 対象になる公開範囲の配列 - const inclusionVisibilities: ReadonlyArray<'public' | 'home' | 'followers' | 'specified'> - = ['public']; - - if (annoying && inclusionVisibilities.includes(visibility)) { + if (annoying && visibility === 'public') { const { canceled, result } = await os.actions({ type: 'warning', text: i18n.ts.thisPostMayBeAnnoying,