forked from AkkomaGang/akkoma
transmogrifier: Remove mastodon emoji-format from emoji field
This commit is contained in:
parent
9d63b2c9db
commit
2ecc7d9230
1 changed files with 0 additions and 3 deletions
|
@ -318,9 +318,6 @@ def fix_emoji(%{"tag" => tags} = object) when is_list(tags) do
|
|||
Map.put(mapping, name, data["icon"]["url"])
|
||||
end)
|
||||
|
||||
# we merge mastodon and pleroma emoji into a single mapping, to allow for both wire formats
|
||||
emoji = Map.merge(object["emoji"] || %{}, emoji)
|
||||
|
||||
Map.put(object, "emoji", emoji)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue