diff options
| author | Acid Chicken (硫酸鶏) <root@acid-chicken.com> | 2023-04-05 02:15:09 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-05 02:15:09 +0900 |
| commit | 3f39fc90fce41ac1e87cbf64b4c904bbe63f531d (patch) | |
| tree | 62ca232417372612f78761f26669b56a80d35733 /packages | |
| parent | enhance(backend): improve cache (diff) | |
| parent | Merge branch 'develop' into fix/visibility-widening (diff) | |
| download | sharkey-3f39fc90fce41ac1e87cbf64b4c904bbe63f531d.tar.gz sharkey-3f39fc90fce41ac1e87cbf64b4c904bbe63f531d.tar.bz2 sharkey-3f39fc90fce41ac1e87cbf64b4c904bbe63f531d.zip | |
Merge pull request #10457 from na2na-p/fix/visibility-widening
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/frontend/src/components/MkPostForm.vue | 3 |
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, |