FIX: windows has no country flags (#7199)

FIX: windows has no country flags (#7199)

diff --git a/app/models/emoji.rb b/app/models/emoji.rb
index 7db7b10..495d56b 100644
--- a/app/models/emoji.rb
+++ b/app/models/emoji.rb
@@ -1,6 +1,6 @@
 class Emoji
   # update this to clear the cache
-  EMOJI_VERSION = "8"
+  EMOJI_VERSION = "9"
 
   FITZPATRICK_SCALE ||= [ "1f3fb", "1f3fc", "1f3fd", "1f3fe", "1f3ff" ]
 
diff --git a/lib/tasks/emoji.rake b/lib/tasks/emoji.rake
index e218c49..a8a7f68 100644
--- a/lib/tasks/emoji.rake
+++ b/lib/tasks/emoji.rake
@@ -260,7 +260,8 @@ DEFAULT_SET ||= "twitter"
 # Replace the platform by another when downloading the image (accepts names or categories)
 EMOJI_IMAGES_PATCH ||= {
   "apple" => { "snowboarder" => "twitter" },
-  "emoji_one" => { "country-flag" => "twitter" }
+  "emoji_one" => { "country-flag" => "twitter" },
+  "windows" => { "country-flag" => "twitter" }
 }
 
 EMOJI_SETS ||= {
diff --git a/public/images/emoji/win10/afghanistan.png b/public/images/emoji/win10/afghanistan.png
index 35e3218..7a37ec2 100644
Binary files a/public/images/emoji/win10/afghanistan.png and b/public/images/emoji/win10/afghanistan.png differ
diff --git a/public/images/emoji/win10/aland_islands.png b/public/images/emoji/win10/aland_islands.png
index e68948e..a5444fc 100644
Binary files a/public/images/emoji/win10/aland_islands.png and b/public/images/emoji/win10/aland_islands.png differ
diff --git a/public/images/emoji/win10/albania.png b/public/images/emoji/win10/albania.png
index e0d3642..a6d4573 100644
Binary files a/public/images/emoji/win10/albania.png and b/public/images/emoji/win10/albania.png differ
diff --git a/public/images/emoji/win10/algeria.png b/public/images/emoji/win10/algeria.png
index 599c8a5..8bdb882 100644
Binary files a/public/images/emoji/win10/algeria.png and b/public/images/emoji/win10/algeria.png differ
diff --git a/public/images/emoji/win10/american_samoa.png b/public/images/emoji/win10/american_samoa.png
index ac13598..a5cdfcc 100644
Binary files a/public/images/emoji/win10/american_samoa.png and b/public/images/emoji/win10/american_samoa.png differ
diff --git a/public/images/emoji/win10/andorra.png b/public/images/emoji/win10/andorra.png
index 043f407..69972df 100644
Binary files a/public/images/emoji/win10/andorra.png and b/public/images/emoji/win10/andorra.png differ
diff --git a/public/images/emoji/win10/angola.png b/public/images/emoji/win10/angola.png
index cdd8732..9349525 100644
Binary files a/public/images/emoji/win10/angola.png and b/public/images/emoji/win10/angola.png differ
diff --git a/public/images/emoji/win10/anguilla.png b/public/images/emoji/win10/anguilla.png
index 2df2680..73f0c20 100644
Binary files a/public/images/emoji/win10/anguilla.png and b/public/images/emoji/win10/anguilla.png differ
diff --git a/public/images/emoji/win10/antarctica.png b/public/images/emoji/win10/antarctica.png
index 0f5d810..d21e4ba 100644
Binary files a/public/images/emoji/win10/antarctica.png and b/public/images/emoji/win10/antarctica.png differ
diff --git a/public/images/emoji/win10/antigua_barbuda.png b/public/images/emoji/win10/antigua_barbuda.png
index c94f3e7..8602fff 100644
Binary files a/public/images/emoji/win10/antigua_barbuda.png and b/public/images/emoji/win10/antigua_barbuda.png differ
diff --git a/public/images/emoji/win10/argentina.png b/public/images/emoji/win10/argentina.png
index fa0a2ea..a7d8a31 100644
Binary files a/public/images/emoji/win10/argentina.png and b/public/images/emoji/win10/argentina.png differ
diff --git a/public/images/emoji/win10/armenia.png b/public/images/emoji/win10/armenia.png
index 9064cb3..16ef38a 100644
Binary files a/public/images/emoji/win10/armenia.png and b/public/images/emoji/win10/armenia.png differ
diff --git a/public/images/emoji/win10/aruba.png b/public/images/emoji/win10/aruba.png
index da1f265..e250be9 100644
Binary files a/public/images/emoji/win10/aruba.png and b/public/images/emoji/win10/aruba.png differ
diff --git a/public/images/emoji/win10/ascension_island.png b/public/images/emoji/win10/ascension_island.png
index 04439df..8e7a630 100644
Binary files a/public/images/emoji/win10/ascension_island.png and b/public/images/emoji/win10/ascension_island.png differ
diff --git a/public/images/emoji/win10/australia.png b/public/images/emoji/win10/australia.png
index ee8bedf..e42aa01 100644
Binary files a/public/images/emoji/win10/australia.png and b/public/images/emoji/win10/australia.png differ
diff --git a/public/images/emoji/win10/austria.png b/public/images/emoji/win10/austria.png
index c3f1719..3937efe 100644
Binary files a/public/images/emoji/win10/austria.png and b/public/images/emoji/win10/austria.png differ
diff --git a/public/images/emoji/win10/azerbaijan.png b/public/images/emoji/win10/azerbaijan.png
index 73a5cf7..4f0c1c8 100644
Binary files a/public/images/emoji/win10/azerbaijan.png and b/public/images/emoji/win10/azerbaijan.png differ
diff --git a/public/images/emoji/win10/bahamas.png b/public/images/emoji/win10/bahamas.png
index 1fdf614..f959101 100644
Binary files a/public/images/emoji/win10/bahamas.png and b/public/images/emoji/win10/bahamas.png differ
diff --git a/public/images/emoji/win10/bahrain.png b/public/images/emoji/win10/bahrain.png
index 4bc00d6..28c3ec6 100644
Binary files a/public/images/emoji/win10/bahrain.png and b/public/images/emoji/win10/bahrain.png differ
diff --git a/public/images/emoji/win10/bangladesh.png b/public/images/emoji/win10/bangladesh.png
index 29a6115..c1c933e 100644
Binary files a/public/images/emoji/win10/bangladesh.png and b/public/images/emoji/win10/bangladesh.png differ
diff --git a/public/images/emoji/win10/barbados.png b/public/images/emoji/win10/barbados.png
index a91f140..e6fb3ed 100644
Binary files a/public/images/emoji/win10/barbados.png and b/public/images/emoji/win10/barbados.png differ
diff --git a/public/images/emoji/win10/belarus.png b/public/images/emoji/win10/belarus.png
index cabb19d..fc2051b 100644
Binary files a/public/images/emoji/win10/belarus.png and b/public/images/emoji/win10/belarus.png differ
diff --git a/public/images/emoji/win10/belgium.png b/public/images/emoji/win10/belgium.png
index 2d2c719..d309207 100644
Binary files a/public/images/emoji/win10/belgium.png and b/public/images/emoji/win10/belgium.png differ
diff --git a/public/images/emoji/win10/belize.png b/public/images/emoji/win10/belize.png
index 04fd547..0c23f80 100644
Binary files a/public/images/emoji/win10/belize.png and b/public/images/emoji/win10/belize.png differ
diff --git a/public/images/emoji/win10/benin.png b/public/images/emoji/win10/benin.png
index c3d445d..3ac1d99 100644
Binary files a/public/images/emoji/win10/benin.png and b/public/images/emoji/win10/benin.png differ
diff --git a/public/images/emoji/win10/bermuda.png b/public/images/emoji/win10/bermuda.png
index 150de40..1353129 100644
Binary files a/public/images/emoji/win10/bermuda.png and b/public/images/emoji/win10/bermuda.png differ
diff --git a/public/images/emoji/win10/bhutan.png b/public/images/emoji/win10/bhutan.png
index adfff6f..3e4ce7d 100644
Binary files a/public/images/emoji/win10/bhutan.png and b/public/images/emoji/win10/bhutan.png differ
diff --git a/public/images/emoji/win10/bolivia.png b/public/images/emoji/win10/bolivia.png
index cb3c9a7..21c555b 100644
Binary files a/public/images/emoji/win10/bolivia.png and b/public/images/emoji/win10/bolivia.png differ
diff --git a/public/images/emoji/win10/bosnia_herzegovina.png b/public/images/emoji/win10/bosnia_herzegovina.png
index 9e8545b..3ffe114 100644
Binary files a/public/images/emoji/win10/bosnia_herzegovina.png and b/public/images/emoji/win10/bosnia_herzegovina.png differ
diff --git a/public/images/emoji/win10/botswana.png b/public/images/emoji/win10/botswana.png
index b163663a5..4aeeb13 100644
Binary files a/public/images/emoji/win10/botswana.png and b/public/images/emoji/win10/botswana.png differ
diff --git a/public/images/emoji/win10/bouvet_island.png b/public/images/emoji/win10/bouvet_island.png
index 5e8d50b..d3a19fd 100644

[... diff too long, it was truncated ...]

GitHub sha: d91b4706

2 Likes

This commit has been mentioned on Discourse Meta. There might be relevant details there: