mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 14:33:09 +02:00
レビュー対応
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
This commit is contained in:
parent
3877b366b3
commit
a46bfc7c14
1 changed files with 1 additions and 5 deletions
|
@ -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 a new issue