mirror of
https://github.com/misskey-dev/misskey
synced 2024-12-04 01:38:59 +09:00
レビュー対応
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
This commit is contained in:
parent
3877b366b3
commit
a46bfc7c14
@ -592,11 +592,7 @@ async function post(ev?: MouseEvent) {
|
||||
text.includes('$[scale') ||
|
||||
text.includes('$[position');
|
||||
|
||||
// 対象になる公開範囲の配列
|
||||
const inclusionVisibilities: ReadonlyArray<'public' | 'home' | 'followers' | 'specified'>
|
||||
= ['public'];
|
||||
|
||||
if (annoying && inclusionVisibilities.includes(visibility)) {
|
||||
if (annoying && visibility === 'public') {
|
||||
const { canceled, result } = await os.actions({
|
||||
type: 'warning',
|
||||
text: i18n.ts.thisPostMayBeAnnoying,
|
||||
|
Loading…
Reference in New Issue
Block a user