diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-07-07 11:13:38 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-07-08 06:28:39 +0200 |
commit | 013e2c505786dff311bcc8bf23631d6a1a1636ef (patch) | |
tree | b3723e7af3582aa5919fa6ee59672767b8f83e69 /lib/pleroma/web/mastodon_api | |
parent | 6a679d80c9030afa8327377928f8ac2fcf1a4a0e (diff) | |
download | pleroma-013e2c505786dff311bcc8bf23631d6a1a1636ef.tar.gz |
Use instances table instead of Cachex
Diffstat (limited to 'lib/pleroma/web/mastodon_api')
-rw-r--r-- | lib/pleroma/web/mastodon_api/views/account_view.ex | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/pleroma/web/mastodon_api/views/account_view.ex b/lib/pleroma/web/mastodon_api/views/account_view.ex index 3ee50dfd0..db5739254 100644 --- a/lib/pleroma/web/mastodon_api/views/account_view.ex +++ b/lib/pleroma/web/mastodon_api/views/account_view.ex @@ -209,8 +209,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountView do |> Map.get(:ap_id, "") |> URI.parse() |> URI.merge("/") - |> to_string() - |> Pleroma.Instances.get_cached_favicon() + |> Pleroma.Instances.Instance.get_or_update_favicon() |> MediaProxy.url() %{ |