mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-09 22:32:53 +00:00
Content Audit: Fix docs and moderation config
Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
65d82e578f
commit
3e2002b72c
7 files changed
+39
-3
No files matched your search
@@ -25,18 +25,22 @@ import { userBlocks, USER_BLOCK_EVENTS } from "../userBlocks.js";
|
||||
import { buildReportEvent, KIND_MUTE_LIST } from "../nostrEventSchemas.js";
|
||||
import logger from "../utils/logger.js";
|
||||
import { DEBOUNCE_DELAY_MS } from "../constants.js";
|
||||
import {
|
||||
DEFAULT_AUTOPLAY_BLOCK_THRESHOLD,
|
||||
DEFAULT_BLUR_THRESHOLD,
|
||||
} from "../config.js";
|
||||
|
||||
/**
|
||||
* Trust threshold for disabling autoplay on reported videos.
|
||||
* If >= 1 trusted user reports content, autoplay is disabled.
|
||||
*/
|
||||
const AUTOPLAY_TRUST_THRESHOLD = 1;
|
||||
const AUTOPLAY_TRUST_THRESHOLD = DEFAULT_AUTOPLAY_BLOCK_THRESHOLD;
|
||||
|
||||
/**
|
||||
* Trust threshold for blurring content.
|
||||
* If >= 1 trusted user reports content, it is blurred.
|
||||
*/
|
||||
const BLUR_TRUST_THRESHOLD = 1;
|
||||
const BLUR_TRUST_THRESHOLD = DEFAULT_BLUR_THRESHOLD;
|
||||
|
||||
/**
|
||||
* Time window for considering trusted mute list entries valid.
|
||||
|
||||
Reference in new issue
Block a user