diff --git a/public/cf/fa.gif b/public/cf/fa.gif new file mode 100644 index 00000000..5c49a984 Binary files /dev/null and b/public/cf/fa.gif differ diff --git a/src/core/ChatProvider.js b/src/core/ChatProvider.js index 3ec35481..55851537 100644 --- a/src/core/ChatProvider.js +++ b/src/core/ChatProvider.js @@ -416,14 +416,16 @@ export class ChatProvider { } const country = user.regUser.flag || 'xx'; - let displayCountry = (name.endsWith('berg') || name.endsWith('stein')) - ? 'il' - : country; - /* - * hard coded flag for Manchukuo_1940 - * TODO make it possible to modify user flags - */ - if (user.id === 2927) { + let displayCountry = countr; + if (name.endsWith('berg') || name.endsWith('stein')) { + displayCountry = 'il'; + } else if (user.userlvl !== 0) { + displayCountry = 'fa'; + } else if (user.id === 2927) { + /* + * hard coded flag for Manchukuo_1940 + * TODO make it possible to modify user flags + */ displayCountry = 'bt'; }