Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop

This commit is contained in:
syuilo 2023-04-05 10:21:13 +09:00
commit 1c3d9a5df0

View file

@ -591,7 +591,8 @@ async function post(ev?: MouseEvent) {
text.includes('$[x4') || text.includes('$[x4') ||
text.includes('$[scale') || text.includes('$[scale') ||
text.includes('$[position'); text.includes('$[position');
if (annoying) {
if (annoying && visibility === 'public') {
const { canceled, result } = await os.actions({ const { canceled, result } = await os.actions({
type: 'warning', type: 'warning',
text: i18n.ts.thisPostMayBeAnnoying, text: i18n.ts.thisPostMayBeAnnoying,