summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAcid Chicken (硫酸鶏) <root@acid-chicken.com>2023-04-05 02:15:09 +0900
committerGitHub <noreply@github.com>2023-04-05 02:15:09 +0900
commit3f39fc90fce41ac1e87cbf64b4c904bbe63f531d (patch)
tree62ca232417372612f78761f26669b56a80d35733
parentenhance(backend): improve cache (diff)
parentMerge branch 'develop' into fix/visibility-widening (diff)
downloadsharkey-3f39fc90fce41ac1e87cbf64b4c904bbe63f531d.tar.gz
sharkey-3f39fc90fce41ac1e87cbf64b4c904bbe63f531d.tar.bz2
sharkey-3f39fc90fce41ac1e87cbf64b4c904bbe63f531d.zip
Merge pull request #10457 from na2na-p/fix/visibility-widening
-rw-r--r--packages/frontend/src/components/MkPostForm.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkPostForm.vue b/packages/frontend/src/components/MkPostForm.vue
index a3f2c39d81..2f1b74baad 100644
--- a/packages/frontend/src/components/MkPostForm.vue
+++ b/packages/frontend/src/components/MkPostForm.vue
@@ -591,7 +591,8 @@ async function post(ev?: MouseEvent) {
text.includes('$[x4') ||
text.includes('$[scale') ||
text.includes('$[position');
- if (annoying) {
+
+ if (annoying && visibility === 'public') {
const { canceled, result } = await os.actions({
type: 'warning',
text: i18n.ts.thisPostMayBeAnnoying,