mirror of
https://github.com/misskey-dev/misskey
synced 2024-12-04 17:58:47 +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('$[scale') ||
|
||||||
text.includes('$[position');
|
text.includes('$[position');
|
||||||
|
|
||||||
// 対象になる公開範囲の配列
|
if (annoying && visibility === 'public') {
|
||||||
const inclusionVisibilities: ReadonlyArray<'public' | 'home' | 'followers' | 'specified'>
|
|
||||||
= ['public'];
|
|
||||||
|
|
||||||
if (annoying && inclusionVisibilities.includes(visibility)) {
|
|
||||||
const { canceled, result } = await os.actions({
|
const { canceled, result } = await os.actions({
|
||||||
type: 'warning',
|
type: 'warning',
|
||||||
text: i18n.ts.thisPostMayBeAnnoying,
|
text: i18n.ts.thisPostMayBeAnnoying,
|
||||||
|
Loading…
Reference in New Issue
Block a user