Merge pull request #10457 from na2na-p/fix/visibility-widening

This commit is contained in:
Acid Chicken (硫酸鶏) 2023-04-05 02:15:09 +09:00 committed by GitHub
commit 3f39fc90fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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,