diff --git a/lib/pleroma/formatter.ex b/lib/pleroma/formatter.ex
index a8149b7b36..179c335604 100644
--- a/lib/pleroma/formatter.ex
+++ b/lib/pleroma/formatter.ex
@@ -22,4 +22,76 @@ def parse_mentions(text) do
|> Enum.map(fn ("@" <> match = full_match) -> {full_match, User.get_cached_by_nickname(match)} end)
|> Enum.filter(fn ({_match, user}) -> user end)
end
+
+ def finmojifiy(text) do
+ emoji_list = [
+ "a_trusted_friend",
+ "alandislands",
+ "association",
+ "auroraborealis",
+ "baby_in_a_box",
+ "bear",
+ "black_gold",
+ "christmasparty",
+ "crosscountryskiing",
+ "cupofcoffee",
+ "education",
+ "fashionista_finns",
+ "finnishlove",
+ "flag",
+ "forest",
+ "four_seasons_of_bbq",
+ "girlpower",
+ "handshake",
+ "happiness",
+ "headbanger",
+ "icebreaker",
+ "iceman",
+ "joulutorttu",
+ "kaamos",
+ "kalsarikannit_f",
+ "kalsarikannit_m",
+ "karjalanpiirakka",
+ "kicksled",
+ "kokko",
+ "lavatanssit",
+ "losthopes_f",
+ "losthopes_m",
+ "mattinykanen",
+ "meanwhileinfinland",
+ "moominmamma",
+ "nordicfamily",
+ "out_of_office",
+ "peacemaker",
+ "perkele",
+ "pesapallo",
+ "polarbear",
+ "pusa_hispida_saimensis",
+ "reindeer",
+ "sami",
+ "sauna_f",
+ "sauna_m",
+ "sauna_whisk",
+ "sisu",
+ "stuck",
+ "suomimainittu",
+ "superfood",
+ "swan",
+ "the_cap",
+ "the_conductor",
+ "the_king",
+ "the_voice",
+ "theoriginalsanta",
+ "tomoffinland",
+ "torillatavataan",
+ "unbreakable",
+ "waiting",
+ "white_nights",
+ "woollysocks"
+ ]
+
+ Enum.reduce(emoji_list, text, fn (emoji, text) ->
+ String.replace(text, ":#{String.replace(emoji, "_", "")}:", "")
+ end)
+ end
end
diff --git a/lib/pleroma/web/endpoint.ex b/lib/pleroma/web/endpoint.ex
index 45a3a345d9..e869448de0 100644
--- a/lib/pleroma/web/endpoint.ex
+++ b/lib/pleroma/web/endpoint.ex
@@ -11,7 +11,7 @@ defmodule Pleroma.Web.Endpoint do
at: "/media", from: "uploads", gzip: false
plug Plug.Static,
at: "/", from: :pleroma,
- only: ~w(index.html static)
+ only: ~w(index.html static finmoji)
# Code reloading can be explicitly enabled under the
# :code_reloader configuration of your endpoint.
diff --git a/lib/pleroma/web/twitter_api/utils.ex b/lib/pleroma/web/twitter_api/utils.ex
index 5cbe0cf9c9..122edfdd40 100644
--- a/lib/pleroma/web/twitter_api/utils.ex
+++ b/lib/pleroma/web/twitter_api/utils.ex
@@ -22,6 +22,7 @@ def format_input(text, mentions) do
|> Formatter.linkify
|> String.replace("\n", "
\n")
|> add_user_links(mentions)
+ |> Formatter.finmojifiy
end
def add_user_links(text, mentions) do
diff --git a/priv/static/finmoji/1000px/a_trusted_friend.png b/priv/static/finmoji/1000px/a_trusted_friend.png
new file mode 100644
index 0000000000..74c4c7af75
Binary files /dev/null and b/priv/static/finmoji/1000px/a_trusted_friend.png differ
diff --git a/priv/static/finmoji/1000px/alandislands.png b/priv/static/finmoji/1000px/alandislands.png
new file mode 100644
index 0000000000..816e75d337
Binary files /dev/null and b/priv/static/finmoji/1000px/alandislands.png differ
diff --git a/priv/static/finmoji/1000px/association.png b/priv/static/finmoji/1000px/association.png
new file mode 100644
index 0000000000..175bfaf0ae
Binary files /dev/null and b/priv/static/finmoji/1000px/association.png differ
diff --git a/priv/static/finmoji/1000px/auroraborealis.png b/priv/static/finmoji/1000px/auroraborealis.png
new file mode 100644
index 0000000000..1352ff64d9
Binary files /dev/null and b/priv/static/finmoji/1000px/auroraborealis.png differ
diff --git a/priv/static/finmoji/1000px/baby_in_a_box.png b/priv/static/finmoji/1000px/baby_in_a_box.png
new file mode 100644
index 0000000000..928362adc0
Binary files /dev/null and b/priv/static/finmoji/1000px/baby_in_a_box.png differ
diff --git a/priv/static/finmoji/1000px/bear.png b/priv/static/finmoji/1000px/bear.png
new file mode 100644
index 0000000000..0c30501be8
Binary files /dev/null and b/priv/static/finmoji/1000px/bear.png differ
diff --git a/priv/static/finmoji/1000px/black_gold.png b/priv/static/finmoji/1000px/black_gold.png
new file mode 100644
index 0000000000..c8993683b4
Binary files /dev/null and b/priv/static/finmoji/1000px/black_gold.png differ
diff --git a/priv/static/finmoji/1000px/christmasparty.png b/priv/static/finmoji/1000px/christmasparty.png
new file mode 100644
index 0000000000..8b8eb62f14
Binary files /dev/null and b/priv/static/finmoji/1000px/christmasparty.png differ
diff --git a/priv/static/finmoji/1000px/crosscountryskiing.png b/priv/static/finmoji/1000px/crosscountryskiing.png
new file mode 100644
index 0000000000..e6de38e1ed
Binary files /dev/null and b/priv/static/finmoji/1000px/crosscountryskiing.png differ
diff --git a/priv/static/finmoji/1000px/cupofcoffee.png b/priv/static/finmoji/1000px/cupofcoffee.png
new file mode 100644
index 0000000000..8cb91d0c16
Binary files /dev/null and b/priv/static/finmoji/1000px/cupofcoffee.png differ
diff --git a/priv/static/finmoji/1000px/education.png b/priv/static/finmoji/1000px/education.png
new file mode 100644
index 0000000000..0092d32e93
Binary files /dev/null and b/priv/static/finmoji/1000px/education.png differ
diff --git a/priv/static/finmoji/1000px/fashionista_finns.png b/priv/static/finmoji/1000px/fashionista_finns.png
new file mode 100644
index 0000000000..214d42d675
Binary files /dev/null and b/priv/static/finmoji/1000px/fashionista_finns.png differ
diff --git a/priv/static/finmoji/1000px/finnishlove.png b/priv/static/finmoji/1000px/finnishlove.png
new file mode 100644
index 0000000000..5fa87ca56b
Binary files /dev/null and b/priv/static/finmoji/1000px/finnishlove.png differ
diff --git a/priv/static/finmoji/1000px/flag.png b/priv/static/finmoji/1000px/flag.png
new file mode 100644
index 0000000000..9af9872f6f
Binary files /dev/null and b/priv/static/finmoji/1000px/flag.png differ
diff --git a/priv/static/finmoji/1000px/forest.png b/priv/static/finmoji/1000px/forest.png
new file mode 100644
index 0000000000..090d2dfad9
Binary files /dev/null and b/priv/static/finmoji/1000px/forest.png differ
diff --git a/priv/static/finmoji/1000px/four_seasons_of_bbq.png b/priv/static/finmoji/1000px/four_seasons_of_bbq.png
new file mode 100644
index 0000000000..3cffbb4408
Binary files /dev/null and b/priv/static/finmoji/1000px/four_seasons_of_bbq.png differ
diff --git a/priv/static/finmoji/1000px/girlpower.png b/priv/static/finmoji/1000px/girlpower.png
new file mode 100644
index 0000000000..3eb0ba64a9
Binary files /dev/null and b/priv/static/finmoji/1000px/girlpower.png differ
diff --git a/priv/static/finmoji/1000px/handshake.png b/priv/static/finmoji/1000px/handshake.png
new file mode 100644
index 0000000000..6ca1533a72
Binary files /dev/null and b/priv/static/finmoji/1000px/handshake.png differ
diff --git a/priv/static/finmoji/1000px/happiness.png b/priv/static/finmoji/1000px/happiness.png
new file mode 100644
index 0000000000..faf31b72d0
Binary files /dev/null and b/priv/static/finmoji/1000px/happiness.png differ
diff --git a/priv/static/finmoji/1000px/headbanger.png b/priv/static/finmoji/1000px/headbanger.png
new file mode 100644
index 0000000000..643fa8afd3
Binary files /dev/null and b/priv/static/finmoji/1000px/headbanger.png differ
diff --git a/priv/static/finmoji/1000px/icebreaker.png b/priv/static/finmoji/1000px/icebreaker.png
new file mode 100644
index 0000000000..08f8908a25
Binary files /dev/null and b/priv/static/finmoji/1000px/icebreaker.png differ
diff --git a/priv/static/finmoji/1000px/iceman.png b/priv/static/finmoji/1000px/iceman.png
new file mode 100644
index 0000000000..2da5ad83e0
Binary files /dev/null and b/priv/static/finmoji/1000px/iceman.png differ
diff --git a/priv/static/finmoji/1000px/joulutorttu.png b/priv/static/finmoji/1000px/joulutorttu.png
new file mode 100644
index 0000000000..05c974d98b
Binary files /dev/null and b/priv/static/finmoji/1000px/joulutorttu.png differ
diff --git a/priv/static/finmoji/1000px/kaamos.png b/priv/static/finmoji/1000px/kaamos.png
new file mode 100644
index 0000000000..053cd4fc45
Binary files /dev/null and b/priv/static/finmoji/1000px/kaamos.png differ
diff --git a/priv/static/finmoji/1000px/kalsarikannit_f.png b/priv/static/finmoji/1000px/kalsarikannit_f.png
new file mode 100644
index 0000000000..718ca69343
Binary files /dev/null and b/priv/static/finmoji/1000px/kalsarikannit_f.png differ
diff --git a/priv/static/finmoji/1000px/kalsarikannit_m.png b/priv/static/finmoji/1000px/kalsarikannit_m.png
new file mode 100644
index 0000000000..a081dd5e12
Binary files /dev/null and b/priv/static/finmoji/1000px/kalsarikannit_m.png differ
diff --git a/priv/static/finmoji/1000px/karjalanpiirakka.png b/priv/static/finmoji/1000px/karjalanpiirakka.png
new file mode 100644
index 0000000000..a918305e48
Binary files /dev/null and b/priv/static/finmoji/1000px/karjalanpiirakka.png differ
diff --git a/priv/static/finmoji/1000px/kicksled.png b/priv/static/finmoji/1000px/kicksled.png
new file mode 100644
index 0000000000..fc489fb624
Binary files /dev/null and b/priv/static/finmoji/1000px/kicksled.png differ
diff --git a/priv/static/finmoji/1000px/kokko.png b/priv/static/finmoji/1000px/kokko.png
new file mode 100644
index 0000000000..c6ed2a98a5
Binary files /dev/null and b/priv/static/finmoji/1000px/kokko.png differ
diff --git a/priv/static/finmoji/1000px/lavatanssit.png b/priv/static/finmoji/1000px/lavatanssit.png
new file mode 100644
index 0000000000..04a0b48f67
Binary files /dev/null and b/priv/static/finmoji/1000px/lavatanssit.png differ
diff --git a/priv/static/finmoji/1000px/losthopes_f.png b/priv/static/finmoji/1000px/losthopes_f.png
new file mode 100644
index 0000000000..06a3061faf
Binary files /dev/null and b/priv/static/finmoji/1000px/losthopes_f.png differ
diff --git a/priv/static/finmoji/1000px/losthopes_m.png b/priv/static/finmoji/1000px/losthopes_m.png
new file mode 100644
index 0000000000..78caa6b1d8
Binary files /dev/null and b/priv/static/finmoji/1000px/losthopes_m.png differ
diff --git a/priv/static/finmoji/1000px/mattinykanen.png b/priv/static/finmoji/1000px/mattinykanen.png
new file mode 100644
index 0000000000..4a7c76b411
Binary files /dev/null and b/priv/static/finmoji/1000px/mattinykanen.png differ
diff --git a/priv/static/finmoji/1000px/meanwhileinfinland.png b/priv/static/finmoji/1000px/meanwhileinfinland.png
new file mode 100644
index 0000000000..e591cb18ac
Binary files /dev/null and b/priv/static/finmoji/1000px/meanwhileinfinland.png differ
diff --git a/priv/static/finmoji/1000px/moominmamma.png b/priv/static/finmoji/1000px/moominmamma.png
new file mode 100644
index 0000000000..963b18573f
Binary files /dev/null and b/priv/static/finmoji/1000px/moominmamma.png differ
diff --git a/priv/static/finmoji/1000px/nordicfamily.png b/priv/static/finmoji/1000px/nordicfamily.png
new file mode 100644
index 0000000000..81ae83a716
Binary files /dev/null and b/priv/static/finmoji/1000px/nordicfamily.png differ
diff --git a/priv/static/finmoji/1000px/out_of_office.png b/priv/static/finmoji/1000px/out_of_office.png
new file mode 100644
index 0000000000..af5dbce7f5
Binary files /dev/null and b/priv/static/finmoji/1000px/out_of_office.png differ
diff --git a/priv/static/finmoji/1000px/peacemaker.png b/priv/static/finmoji/1000px/peacemaker.png
new file mode 100644
index 0000000000..89e4265f2f
Binary files /dev/null and b/priv/static/finmoji/1000px/peacemaker.png differ
diff --git a/priv/static/finmoji/1000px/perkele.png b/priv/static/finmoji/1000px/perkele.png
new file mode 100644
index 0000000000..98ac346060
Binary files /dev/null and b/priv/static/finmoji/1000px/perkele.png differ
diff --git a/priv/static/finmoji/1000px/pesapallo.png b/priv/static/finmoji/1000px/pesapallo.png
new file mode 100644
index 0000000000..f701a01688
Binary files /dev/null and b/priv/static/finmoji/1000px/pesapallo.png differ
diff --git a/priv/static/finmoji/1000px/polarbear.png b/priv/static/finmoji/1000px/polarbear.png
new file mode 100644
index 0000000000..1e2eed5f53
Binary files /dev/null and b/priv/static/finmoji/1000px/polarbear.png differ
diff --git a/priv/static/finmoji/1000px/pusa_hispida_saimensis.png b/priv/static/finmoji/1000px/pusa_hispida_saimensis.png
new file mode 100644
index 0000000000..61145bccc9
Binary files /dev/null and b/priv/static/finmoji/1000px/pusa_hispida_saimensis.png differ
diff --git a/priv/static/finmoji/1000px/reindeer.png b/priv/static/finmoji/1000px/reindeer.png
new file mode 100644
index 0000000000..a3d28fb9cb
Binary files /dev/null and b/priv/static/finmoji/1000px/reindeer.png differ
diff --git a/priv/static/finmoji/1000px/sami.png b/priv/static/finmoji/1000px/sami.png
new file mode 100644
index 0000000000..f3a089b3b8
Binary files /dev/null and b/priv/static/finmoji/1000px/sami.png differ
diff --git a/priv/static/finmoji/1000px/sauna_f.png b/priv/static/finmoji/1000px/sauna_f.png
new file mode 100644
index 0000000000..ca83c8bfc2
Binary files /dev/null and b/priv/static/finmoji/1000px/sauna_f.png differ
diff --git a/priv/static/finmoji/1000px/sauna_m.png b/priv/static/finmoji/1000px/sauna_m.png
new file mode 100644
index 0000000000..0de893cb7f
Binary files /dev/null and b/priv/static/finmoji/1000px/sauna_m.png differ
diff --git a/priv/static/finmoji/1000px/sauna_whisk.png b/priv/static/finmoji/1000px/sauna_whisk.png
new file mode 100644
index 0000000000..2b8af67401
Binary files /dev/null and b/priv/static/finmoji/1000px/sauna_whisk.png differ
diff --git a/priv/static/finmoji/1000px/sisu.png b/priv/static/finmoji/1000px/sisu.png
new file mode 100644
index 0000000000..18320729f7
Binary files /dev/null and b/priv/static/finmoji/1000px/sisu.png differ
diff --git a/priv/static/finmoji/1000px/stuck.png b/priv/static/finmoji/1000px/stuck.png
new file mode 100644
index 0000000000..445b6bcd80
Binary files /dev/null and b/priv/static/finmoji/1000px/stuck.png differ
diff --git a/priv/static/finmoji/1000px/suomimainittu.png b/priv/static/finmoji/1000px/suomimainittu.png
new file mode 100644
index 0000000000..01dfa64e4f
Binary files /dev/null and b/priv/static/finmoji/1000px/suomimainittu.png differ
diff --git a/priv/static/finmoji/1000px/superfood.png b/priv/static/finmoji/1000px/superfood.png
new file mode 100644
index 0000000000..8a81f4e3d7
Binary files /dev/null and b/priv/static/finmoji/1000px/superfood.png differ
diff --git a/priv/static/finmoji/1000px/swan.png b/priv/static/finmoji/1000px/swan.png
new file mode 100644
index 0000000000..dbdf0ed0cb
Binary files /dev/null and b/priv/static/finmoji/1000px/swan.png differ
diff --git a/priv/static/finmoji/1000px/the_cap.png b/priv/static/finmoji/1000px/the_cap.png
new file mode 100644
index 0000000000..f1232e10f0
Binary files /dev/null and b/priv/static/finmoji/1000px/the_cap.png differ
diff --git a/priv/static/finmoji/1000px/the_conductor.png b/priv/static/finmoji/1000px/the_conductor.png
new file mode 100644
index 0000000000..d231bf6f92
Binary files /dev/null and b/priv/static/finmoji/1000px/the_conductor.png differ
diff --git a/priv/static/finmoji/1000px/the_king.png b/priv/static/finmoji/1000px/the_king.png
new file mode 100644
index 0000000000..f1f5896678
Binary files /dev/null and b/priv/static/finmoji/1000px/the_king.png differ
diff --git a/priv/static/finmoji/1000px/the_voice.png b/priv/static/finmoji/1000px/the_voice.png
new file mode 100644
index 0000000000..2085a56c80
Binary files /dev/null and b/priv/static/finmoji/1000px/the_voice.png differ
diff --git a/priv/static/finmoji/1000px/theoriginalsanta.png b/priv/static/finmoji/1000px/theoriginalsanta.png
new file mode 100644
index 0000000000..707921b2dc
Binary files /dev/null and b/priv/static/finmoji/1000px/theoriginalsanta.png differ
diff --git a/priv/static/finmoji/1000px/tomoffinland.png b/priv/static/finmoji/1000px/tomoffinland.png
new file mode 100644
index 0000000000..bf83c75733
Binary files /dev/null and b/priv/static/finmoji/1000px/tomoffinland.png differ
diff --git a/priv/static/finmoji/1000px/torillatavataan.png b/priv/static/finmoji/1000px/torillatavataan.png
new file mode 100644
index 0000000000..6e82251f84
Binary files /dev/null and b/priv/static/finmoji/1000px/torillatavataan.png differ
diff --git a/priv/static/finmoji/1000px/unbreakable.png b/priv/static/finmoji/1000px/unbreakable.png
new file mode 100644
index 0000000000..9a41973674
Binary files /dev/null and b/priv/static/finmoji/1000px/unbreakable.png differ
diff --git a/priv/static/finmoji/1000px/waiting.png b/priv/static/finmoji/1000px/waiting.png
new file mode 100644
index 0000000000..4b98139a07
Binary files /dev/null and b/priv/static/finmoji/1000px/waiting.png differ
diff --git a/priv/static/finmoji/1000px/white_nights.png b/priv/static/finmoji/1000px/white_nights.png
new file mode 100644
index 0000000000..d00e2febed
Binary files /dev/null and b/priv/static/finmoji/1000px/white_nights.png differ
diff --git a/priv/static/finmoji/1000px/woollysocks.png b/priv/static/finmoji/1000px/woollysocks.png
new file mode 100644
index 0000000000..0bd8ee055b
Binary files /dev/null and b/priv/static/finmoji/1000px/woollysocks.png differ
diff --git a/priv/static/finmoji/128px/a_trusted_friend-128.png b/priv/static/finmoji/128px/a_trusted_friend-128.png
new file mode 100644
index 0000000000..e459c5109f
Binary files /dev/null and b/priv/static/finmoji/128px/a_trusted_friend-128.png differ
diff --git a/priv/static/finmoji/128px/alandislands-128.png b/priv/static/finmoji/128px/alandislands-128.png
new file mode 100644
index 0000000000..5b9ef6957c
Binary files /dev/null and b/priv/static/finmoji/128px/alandislands-128.png differ
diff --git a/priv/static/finmoji/128px/association-128.png b/priv/static/finmoji/128px/association-128.png
new file mode 100644
index 0000000000..10879dbff7
Binary files /dev/null and b/priv/static/finmoji/128px/association-128.png differ
diff --git a/priv/static/finmoji/128px/auroraborealis-128.png b/priv/static/finmoji/128px/auroraborealis-128.png
new file mode 100644
index 0000000000..9e52d6011b
Binary files /dev/null and b/priv/static/finmoji/128px/auroraborealis-128.png differ
diff --git a/priv/static/finmoji/128px/baby_in_a_box-128.png b/priv/static/finmoji/128px/baby_in_a_box-128.png
new file mode 100644
index 0000000000..64c7f82648
Binary files /dev/null and b/priv/static/finmoji/128px/baby_in_a_box-128.png differ
diff --git a/priv/static/finmoji/128px/bear-128.png b/priv/static/finmoji/128px/bear-128.png
new file mode 100644
index 0000000000..9870784916
Binary files /dev/null and b/priv/static/finmoji/128px/bear-128.png differ
diff --git a/priv/static/finmoji/128px/black_gold-128.png b/priv/static/finmoji/128px/black_gold-128.png
new file mode 100644
index 0000000000..f8bf5638f1
Binary files /dev/null and b/priv/static/finmoji/128px/black_gold-128.png differ
diff --git a/priv/static/finmoji/128px/christmasparty-128.png b/priv/static/finmoji/128px/christmasparty-128.png
new file mode 100644
index 0000000000..e18c088b49
Binary files /dev/null and b/priv/static/finmoji/128px/christmasparty-128.png differ
diff --git a/priv/static/finmoji/128px/crosscountryskiing-128.png b/priv/static/finmoji/128px/crosscountryskiing-128.png
new file mode 100644
index 0000000000..3175771702
Binary files /dev/null and b/priv/static/finmoji/128px/crosscountryskiing-128.png differ
diff --git a/priv/static/finmoji/128px/cupofcoffee-128.png b/priv/static/finmoji/128px/cupofcoffee-128.png
new file mode 100644
index 0000000000..0851e9a468
Binary files /dev/null and b/priv/static/finmoji/128px/cupofcoffee-128.png differ
diff --git a/priv/static/finmoji/128px/education-128.png b/priv/static/finmoji/128px/education-128.png
new file mode 100644
index 0000000000..7456e90bf3
Binary files /dev/null and b/priv/static/finmoji/128px/education-128.png differ
diff --git a/priv/static/finmoji/128px/fashionista_finns-128.png b/priv/static/finmoji/128px/fashionista_finns-128.png
new file mode 100644
index 0000000000..0b2b0466c5
Binary files /dev/null and b/priv/static/finmoji/128px/fashionista_finns-128.png differ
diff --git a/priv/static/finmoji/128px/finnishlove-128.png b/priv/static/finmoji/128px/finnishlove-128.png
new file mode 100644
index 0000000000..3a970bf7bd
Binary files /dev/null and b/priv/static/finmoji/128px/finnishlove-128.png differ
diff --git a/priv/static/finmoji/128px/flag-128.png b/priv/static/finmoji/128px/flag-128.png
new file mode 100644
index 0000000000..a5363242d0
Binary files /dev/null and b/priv/static/finmoji/128px/flag-128.png differ
diff --git a/priv/static/finmoji/128px/forest-128.png b/priv/static/finmoji/128px/forest-128.png
new file mode 100644
index 0000000000..a350d7f0c7
Binary files /dev/null and b/priv/static/finmoji/128px/forest-128.png differ
diff --git a/priv/static/finmoji/128px/four_seasons_of_bbq-128.png b/priv/static/finmoji/128px/four_seasons_of_bbq-128.png
new file mode 100644
index 0000000000..d01ad662ec
Binary files /dev/null and b/priv/static/finmoji/128px/four_seasons_of_bbq-128.png differ
diff --git a/priv/static/finmoji/128px/girlpower-128.png b/priv/static/finmoji/128px/girlpower-128.png
new file mode 100644
index 0000000000..1e6e9628ee
Binary files /dev/null and b/priv/static/finmoji/128px/girlpower-128.png differ
diff --git a/priv/static/finmoji/128px/handshake-128.png b/priv/static/finmoji/128px/handshake-128.png
new file mode 100644
index 0000000000..92976f48b3
Binary files /dev/null and b/priv/static/finmoji/128px/handshake-128.png differ
diff --git a/priv/static/finmoji/128px/happiness-128.png b/priv/static/finmoji/128px/happiness-128.png
new file mode 100644
index 0000000000..3ae66fa4bd
Binary files /dev/null and b/priv/static/finmoji/128px/happiness-128.png differ
diff --git a/priv/static/finmoji/128px/headbanger-128.png b/priv/static/finmoji/128px/headbanger-128.png
new file mode 100644
index 0000000000..094288c51f
Binary files /dev/null and b/priv/static/finmoji/128px/headbanger-128.png differ
diff --git a/priv/static/finmoji/128px/icebreaker-128.png b/priv/static/finmoji/128px/icebreaker-128.png
new file mode 100644
index 0000000000..0473dc4005
Binary files /dev/null and b/priv/static/finmoji/128px/icebreaker-128.png differ
diff --git a/priv/static/finmoji/128px/iceman-128.png b/priv/static/finmoji/128px/iceman-128.png
new file mode 100644
index 0000000000..217ef0c92d
Binary files /dev/null and b/priv/static/finmoji/128px/iceman-128.png differ
diff --git a/priv/static/finmoji/128px/joulutorttu-128.png b/priv/static/finmoji/128px/joulutorttu-128.png
new file mode 100644
index 0000000000..c394570eb8
Binary files /dev/null and b/priv/static/finmoji/128px/joulutorttu-128.png differ
diff --git a/priv/static/finmoji/128px/kaamos-128.png b/priv/static/finmoji/128px/kaamos-128.png
new file mode 100644
index 0000000000..882ddf8ba8
Binary files /dev/null and b/priv/static/finmoji/128px/kaamos-128.png differ
diff --git a/priv/static/finmoji/128px/kalsarikannit_f-128.png b/priv/static/finmoji/128px/kalsarikannit_f-128.png
new file mode 100644
index 0000000000..a3390e66cc
Binary files /dev/null and b/priv/static/finmoji/128px/kalsarikannit_f-128.png differ
diff --git a/priv/static/finmoji/128px/kalsarikannit_m-128.png b/priv/static/finmoji/128px/kalsarikannit_m-128.png
new file mode 100644
index 0000000000..e48ca375d4
Binary files /dev/null and b/priv/static/finmoji/128px/kalsarikannit_m-128.png differ
diff --git a/priv/static/finmoji/128px/karjalanpiirakka-128.png b/priv/static/finmoji/128px/karjalanpiirakka-128.png
new file mode 100644
index 0000000000..b489c9c282
Binary files /dev/null and b/priv/static/finmoji/128px/karjalanpiirakka-128.png differ
diff --git a/priv/static/finmoji/128px/kicksled-128.png b/priv/static/finmoji/128px/kicksled-128.png
new file mode 100644
index 0000000000..99dee1eb80
Binary files /dev/null and b/priv/static/finmoji/128px/kicksled-128.png differ
diff --git a/priv/static/finmoji/128px/kokko-128.png b/priv/static/finmoji/128px/kokko-128.png
new file mode 100644
index 0000000000..ef1ea0db59
Binary files /dev/null and b/priv/static/finmoji/128px/kokko-128.png differ
diff --git a/priv/static/finmoji/128px/lavatanssit-128.png b/priv/static/finmoji/128px/lavatanssit-128.png
new file mode 100644
index 0000000000..e5d921dfe0
Binary files /dev/null and b/priv/static/finmoji/128px/lavatanssit-128.png differ
diff --git a/priv/static/finmoji/128px/losthopes_f-128.png b/priv/static/finmoji/128px/losthopes_f-128.png
new file mode 100644
index 0000000000..395b75a12c
Binary files /dev/null and b/priv/static/finmoji/128px/losthopes_f-128.png differ
diff --git a/priv/static/finmoji/128px/losthopes_m-128.png b/priv/static/finmoji/128px/losthopes_m-128.png
new file mode 100644
index 0000000000..4fdadb97aa
Binary files /dev/null and b/priv/static/finmoji/128px/losthopes_m-128.png differ
diff --git a/priv/static/finmoji/128px/mattinykanen-128.png b/priv/static/finmoji/128px/mattinykanen-128.png
new file mode 100644
index 0000000000..230554e2e8
Binary files /dev/null and b/priv/static/finmoji/128px/mattinykanen-128.png differ
diff --git a/priv/static/finmoji/128px/meanwhileinfinland-128.png b/priv/static/finmoji/128px/meanwhileinfinland-128.png
new file mode 100644
index 0000000000..8cc636bd67
Binary files /dev/null and b/priv/static/finmoji/128px/meanwhileinfinland-128.png differ
diff --git a/priv/static/finmoji/128px/moominmamma-128.png b/priv/static/finmoji/128px/moominmamma-128.png
new file mode 100644
index 0000000000..76a662a9df
Binary files /dev/null and b/priv/static/finmoji/128px/moominmamma-128.png differ
diff --git a/priv/static/finmoji/128px/nordicfamily-128.png b/priv/static/finmoji/128px/nordicfamily-128.png
new file mode 100644
index 0000000000..6efd5daa84
Binary files /dev/null and b/priv/static/finmoji/128px/nordicfamily-128.png differ
diff --git a/priv/static/finmoji/128px/out_of_office-128.png b/priv/static/finmoji/128px/out_of_office-128.png
new file mode 100644
index 0000000000..98e359bcb0
Binary files /dev/null and b/priv/static/finmoji/128px/out_of_office-128.png differ
diff --git a/priv/static/finmoji/128px/peacemaker-128.png b/priv/static/finmoji/128px/peacemaker-128.png
new file mode 100644
index 0000000000..2ec94560f0
Binary files /dev/null and b/priv/static/finmoji/128px/peacemaker-128.png differ
diff --git a/priv/static/finmoji/128px/perkele-128.png b/priv/static/finmoji/128px/perkele-128.png
new file mode 100644
index 0000000000..61b1d560c2
Binary files /dev/null and b/priv/static/finmoji/128px/perkele-128.png differ
diff --git a/priv/static/finmoji/128px/pesapallo-128.png b/priv/static/finmoji/128px/pesapallo-128.png
new file mode 100644
index 0000000000..de0897e3c9
Binary files /dev/null and b/priv/static/finmoji/128px/pesapallo-128.png differ
diff --git a/priv/static/finmoji/128px/polarbear-128.png b/priv/static/finmoji/128px/polarbear-128.png
new file mode 100644
index 0000000000..6a3abeccd5
Binary files /dev/null and b/priv/static/finmoji/128px/polarbear-128.png differ
diff --git a/priv/static/finmoji/128px/pusa_hispida_saimensis-128.png b/priv/static/finmoji/128px/pusa_hispida_saimensis-128.png
new file mode 100644
index 0000000000..277780d75b
Binary files /dev/null and b/priv/static/finmoji/128px/pusa_hispida_saimensis-128.png differ
diff --git a/priv/static/finmoji/128px/reindeer-128.png b/priv/static/finmoji/128px/reindeer-128.png
new file mode 100644
index 0000000000..c8c5ed7955
Binary files /dev/null and b/priv/static/finmoji/128px/reindeer-128.png differ
diff --git a/priv/static/finmoji/128px/sami-128.png b/priv/static/finmoji/128px/sami-128.png
new file mode 100644
index 0000000000..fc52cceac1
Binary files /dev/null and b/priv/static/finmoji/128px/sami-128.png differ
diff --git a/priv/static/finmoji/128px/sauna_f-128.png b/priv/static/finmoji/128px/sauna_f-128.png
new file mode 100644
index 0000000000..6c70fde1dc
Binary files /dev/null and b/priv/static/finmoji/128px/sauna_f-128.png differ
diff --git a/priv/static/finmoji/128px/sauna_m-128.png b/priv/static/finmoji/128px/sauna_m-128.png
new file mode 100644
index 0000000000..f67406bf96
Binary files /dev/null and b/priv/static/finmoji/128px/sauna_m-128.png differ
diff --git a/priv/static/finmoji/128px/sauna_whisk-128.png b/priv/static/finmoji/128px/sauna_whisk-128.png
new file mode 100644
index 0000000000..7450ff6821
Binary files /dev/null and b/priv/static/finmoji/128px/sauna_whisk-128.png differ
diff --git a/priv/static/finmoji/128px/sisu-128.png b/priv/static/finmoji/128px/sisu-128.png
new file mode 100644
index 0000000000..9ea6ae834d
Binary files /dev/null and b/priv/static/finmoji/128px/sisu-128.png differ
diff --git a/priv/static/finmoji/128px/stuck-128.png b/priv/static/finmoji/128px/stuck-128.png
new file mode 100644
index 0000000000..c1f4681357
Binary files /dev/null and b/priv/static/finmoji/128px/stuck-128.png differ
diff --git a/priv/static/finmoji/128px/suomimainittu-128.png b/priv/static/finmoji/128px/suomimainittu-128.png
new file mode 100644
index 0000000000..ac9228d88d
Binary files /dev/null and b/priv/static/finmoji/128px/suomimainittu-128.png differ
diff --git a/priv/static/finmoji/128px/superfood-128.png b/priv/static/finmoji/128px/superfood-128.png
new file mode 100644
index 0000000000..bb6eb81b52
Binary files /dev/null and b/priv/static/finmoji/128px/superfood-128.png differ
diff --git a/priv/static/finmoji/128px/swan-128.png b/priv/static/finmoji/128px/swan-128.png
new file mode 100644
index 0000000000..b1c2c5ea01
Binary files /dev/null and b/priv/static/finmoji/128px/swan-128.png differ
diff --git a/priv/static/finmoji/128px/the_cap-128.png b/priv/static/finmoji/128px/the_cap-128.png
new file mode 100644
index 0000000000..90d36f9b4a
Binary files /dev/null and b/priv/static/finmoji/128px/the_cap-128.png differ
diff --git a/priv/static/finmoji/128px/the_conductor-128.png b/priv/static/finmoji/128px/the_conductor-128.png
new file mode 100644
index 0000000000..e061cf8f43
Binary files /dev/null and b/priv/static/finmoji/128px/the_conductor-128.png differ
diff --git a/priv/static/finmoji/128px/the_king-128.png b/priv/static/finmoji/128px/the_king-128.png
new file mode 100644
index 0000000000..8611d26045
Binary files /dev/null and b/priv/static/finmoji/128px/the_king-128.png differ
diff --git a/priv/static/finmoji/128px/the_voice-128.png b/priv/static/finmoji/128px/the_voice-128.png
new file mode 100644
index 0000000000..93fd9e0f4f
Binary files /dev/null and b/priv/static/finmoji/128px/the_voice-128.png differ
diff --git a/priv/static/finmoji/128px/theoriginalsanta-128.png b/priv/static/finmoji/128px/theoriginalsanta-128.png
new file mode 100644
index 0000000000..1827b2500a
Binary files /dev/null and b/priv/static/finmoji/128px/theoriginalsanta-128.png differ
diff --git a/priv/static/finmoji/128px/tomoffinland-128.png b/priv/static/finmoji/128px/tomoffinland-128.png
new file mode 100644
index 0000000000..3f6cfc3198
Binary files /dev/null and b/priv/static/finmoji/128px/tomoffinland-128.png differ
diff --git a/priv/static/finmoji/128px/torillatavataan-128.png b/priv/static/finmoji/128px/torillatavataan-128.png
new file mode 100644
index 0000000000..2d2153f596
Binary files /dev/null and b/priv/static/finmoji/128px/torillatavataan-128.png differ
diff --git a/priv/static/finmoji/128px/unbreakable-128.png b/priv/static/finmoji/128px/unbreakable-128.png
new file mode 100644
index 0000000000..a8d7cc8f19
Binary files /dev/null and b/priv/static/finmoji/128px/unbreakable-128.png differ
diff --git a/priv/static/finmoji/128px/waiting-128.png b/priv/static/finmoji/128px/waiting-128.png
new file mode 100644
index 0000000000..20fd31dd4c
Binary files /dev/null and b/priv/static/finmoji/128px/waiting-128.png differ
diff --git a/priv/static/finmoji/128px/white_nights-128.png b/priv/static/finmoji/128px/white_nights-128.png
new file mode 100644
index 0000000000..258d305a10
Binary files /dev/null and b/priv/static/finmoji/128px/white_nights-128.png differ
diff --git a/priv/static/finmoji/128px/woollysocks-128.png b/priv/static/finmoji/128px/woollysocks-128.png
new file mode 100644
index 0000000000..a5d9cd5d58
Binary files /dev/null and b/priv/static/finmoji/128px/woollysocks-128.png differ
diff --git a/priv/static/finmoji/LICENSE b/priv/static/finmoji/LICENSE
new file mode 100644
index 0000000000..e3a607aa3a
--- /dev/null
+++ b/priv/static/finmoji/LICENSE
@@ -0,0 +1 @@
+these are under CC-BY-ND, see https://finland.fi/emoji/
diff --git a/test/formatter_test.exs b/test/formatter_test.exs
index eb4affab8e..9b6ee2425e 100644
--- a/test/formatter_test.exs
+++ b/test/formatter_test.exs
@@ -43,4 +43,12 @@ test "it can parse mentions and return the relevant users" do
assert Formatter.parse_mentions(text) == expected_result
end
+
+ test "it adds cool emoji" do
+ text = "I love :moominmamma:"
+
+ expected_result = "I love "
+
+ assert Formatter.finmojifiy(text) == expected_result
+ end
end