Completely remove meme names and add custom flag

This commit is contained in:
sallbet 2023-10-07 00:03:16 +03:00
parent 7013601f1f
commit 6ab3993586
Signed by untrusted user: sallbet
GPG Key ID: 3C8A1BC17088B308

View File

@ -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) {