make mods have trans flag in chat

This commit is contained in:
HF 2022-08-08 14:53:48 +02:00
parent a0b8ea6a4a
commit f3677db4f9
2 changed files with 10 additions and 8 deletions

BIN
public/cf/fa.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 B

View File

@ -416,14 +416,16 @@ export class ChatProvider {
} }
const country = user.regUser.flag || 'xx'; const country = user.regUser.flag || 'xx';
let displayCountry = (name.endsWith('berg') || name.endsWith('stein')) let displayCountry = countr;
? 'il' if (name.endsWith('berg') || name.endsWith('stein')) {
: country; displayCountry = 'il';
/* } else if (user.userlvl !== 0) {
* hard coded flag for Manchukuo_1940 displayCountry = 'fa';
* TODO make it possible to modify user flags } else if (user.id === 2927) {
*/ /*
if (user.id === 2927) { * hard coded flag for Manchukuo_1940
* TODO make it possible to modify user flags
*/
displayCountry = 'bt'; displayCountry = 'bt';
} }