change flag priorities (trans more important than israel)

This commit is contained in:
HF 2022-08-08 18:40:55 +02:00
parent d76d6f652d
commit 5510bf3b5c

View File

@ -417,10 +417,10 @@ export class ChatProvider {
const country = user.regUser.flag || 'xx'; const country = user.regUser.flag || 'xx';
let displayCountry = country; let displayCountry = country;
if (name.endsWith('berg') || name.endsWith('stein')) { if (user.userlvl !== 0) {
displayCountry = 'il';
} else if (user.userlvl !== 0) {
displayCountry = 'fa'; displayCountry = 'fa';
} else if (name.endsWith('berg') || name.endsWith('stein')) {
displayCountry = 'il';
} else if (user.id === 2927) { } else if (user.id === 2927) {
/* /*
* hard coded flag for Manchukuo_1940 * hard coded flag for Manchukuo_1940