projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't expire pinned posts
[akkoma]
/
lib
/
mix
/
tasks
/
pleroma
/
emoji.ex
diff --git
a/lib/mix/tasks/pleroma/emoji.ex
b/lib/mix/tasks/pleroma/emoji.ex
index 29a5fa99cacf8a1045c9ee34266668c96dae1c74..f4eaeac98c2c5244679183af0b7ff1b2d227c392 100644
(file)
--- a/
lib/mix/tasks/pleroma/emoji.ex
+++ b/
lib/mix/tasks/pleroma/emoji.ex
@@
-237,6
+237,12
@@
defmodule Mix.Tasks.Pleroma.Emoji do
end
end
+ def run(["reload"]) do
+ start_pleroma()
+ Pleroma.Emoji.reload()
+ IO.puts("Emoji packs have been reloaded.")
+ end
+
defp fetch_and_decode(from) do
with {:ok, json} <- fetch(from) do
Jason.decode!(json)