From e3d631d1f1172a02d361e248c5814be400667594 Mon Sep 17 00:00:00 2001 From: Andrea Vos Date: Thu, 12 Aug 2021 20:12:26 +0200 Subject: [PATCH] [sus] add pedo keywords to automatic abuse reports --- server/routes/profile.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/server/routes/profile.js b/server/routes/profile.js index 5aaadf2bc..fa4b26b54 100644 --- a/server/routes/profile.js +++ b/server/routes/profile.js @@ -87,6 +87,16 @@ function* isSuspicious(profile) { ) { yield 'nor/mal'; } + + if (description.includes('pedophile') || + flags.includes('pedophile') || + description.includes('lolicon') || + flags.includes('lolicon') || + description.includes('map') || + flags.includes('map') + ) { + yield 'Pedophile'; + } } const hasAutomatedReports = async (db, id) => {