1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-28 06:48:42 +09:00

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

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,