From 6ab39935864179d80989394058fc51412a665c8b Mon Sep 17 00:00:00 2001 From: sallbet Date: Sat, 7 Oct 2023 00:03:16 +0300 Subject: [PATCH] Completely remove meme names and add custom flag --- src/core/ChatProvider.js | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/src/core/ChatProvider.js b/src/core/ChatProvider.js index 80dc734b..6cab36a4 100644 --- a/src/core/ChatProvider.js +++ b/src/core/ChatProvider.js @@ -474,20 +474,14 @@ export class ChatProvider { let displayCountry = country; if (user.userlvl !== 0) { displayCountry = 'zz'; - /* - * meme names disabled for now - * TODO think about activating it again after fixing accounts and - * mute evasions - * - } else if (name.endsWith('berg') || name.endsWith('stein')) { - displayCountry = 'il'; - / */ } else if (user.id === 2927) { /* - * hard coded flag for Manchukuo_1940 + * hard coded flags * TODO make it possible to modify user flags */ displayCountry = 'bt'; + } else if (user.id === 41030) { + displayCountry = 'to'; } if (USE_MAILER && !user.regUser.verified) {