From a1786688b85f9446ae02a9c1c3f0a70780917596 Mon Sep 17 00:00:00 2001 From: Charlotte Som Date: Tue, 26 Nov 2024 14:31:13 +0000 Subject: [PATCH] pds: allow slurs (e.g. t-slur, f-slur) in hashtags --- pds/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pds/index.js b/pds/index.js index ab443e0..aa6caf4 100644 --- a/pds/index.js +++ b/pds/index.js @@ -6,6 +6,9 @@ const { envStr } = require("@atproto/common"); const { PDS, envToCfg, envToSecrets, readEnv } = require("@atproto/pds"); 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 main = async () => {