mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 15:35:12 +00:00
Merge pull request #10457 from na2na-p/fix/visibility-widening
This commit is contained in:
commit
3f39fc90fc
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue