pds: allow slurs (e.g. t-slur, f-slur) in hashtags

main
Charlotte Som 2024-11-26 14:31:13 +00:00
parent 849a04e82a
commit a1786688b8
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,9 @@ const { envStr } = require("@atproto/common");
const { PDS, envToCfg, envToSecrets, readEnv } = require("@atproto/pds"); const { PDS, envToCfg, envToSecrets, readEnv } = require("@atproto/pds");
const pkg = require("@atproto/pds/package.json"); const pkg = require("@atproto/pds/package.json");
const slurs = require("@atproto/pds/dist/handle/explicit-slurs.js")
slurs.hasExplicitSlur = () => false;
const process = require("node:process") const process = require("node:process")
const main = async () => { const main = async () => {