mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 06:13: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('$[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 a new issue