Restore country flag in chat header

This commit is contained in:
rajchales-monito
2026-07-24 13:21:27 +02:00
parent 45169e8113
commit ae088821e3
3 changed files with 10 additions and 2 deletions
+3
View File
@@ -815,6 +815,9 @@ function formatConversationSummary(row) {
timezone: row.timezone,
ip: row.ip,
countryCode: row.country_code || countryFromTimezone(row.timezone) || countryFromLanguage(row.language),
countryFlag: (row.country_code || countryFromTimezone(row.timezone) || countryFromLanguage(row.language))
? flagEmoji(row.country_code || countryFromTimezone(row.timezone) || countryFromLanguage(row.language))
: "",
vpnRisk: Boolean(row.vpn_risk),
lastBody: row.last_body,
messageCount: row.message_count,