mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-23 09:44:52 +00:00
Clean out old emojis on reload
This commit is contained in:
parent
2d4b8f3d20
commit
b0ecd412f5
|
@ -122,6 +122,9 @@ defmodule Pleroma.Emoji do
|
|||
fn pack -> load_pack(Path.join(emoji_dir_path, pack), emoji_groups) end
|
||||
)
|
||||
|
||||
# Clear out old emojis
|
||||
:ets.delete_all_objects(@ets)
|
||||
|
||||
true = :ets.insert(@ets, emojis)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue