Looks like source_data is on user directly now.
authorPhil Hagelberg <phil@hagelb.org>
Sun, 27 Oct 2019 22:20:43 +0000 (15:20 -0700)
committerPhil Hagelberg <phil@hagelb.org>
Sun, 10 Nov 2019 02:06:51 +0000 (18:06 -0800)
lib/pleroma/web/static_fe/static_fe_view.ex

index c01e8d40b4f2c5843fd644d09f7a7e51aaf2b0ae..ba67de83514cd29839dd8d366d5c6e1baff3f1cf 100644 (file)
@@ -13,7 +13,7 @@ defmodule Pleroma.Web.StaticFE.StaticFEView do
   import Phoenix.HTML
 
   def emoji_for_user(%User{} = user) do
-    (user.info.source_data["tag"] || [])
+    (user.source_data["tag"] || [])
     |> Enum.filter(fn %{"type" => t} -> t == "Emoji" end)
     |> Enum.map(fn %{"icon" => %{"url" => url}, "name" => name} ->
       {String.trim(name, ":"), url}