forked from ppfun/pixelplanet
make mods have trans flag in chat
This commit is contained in:
parent
a0b8ea6a4a
commit
f3677db4f9
BIN
public/cf/fa.gif
Normal file
BIN
public/cf/fa.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 323 B |
|
@ -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';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user