Update account_view.ex
[akkoma] / lib / pleroma / notification.ex
index 585157efece020946674f764f1adf9d49264b907..8442643072cf5c9bc56bda9d0ce2d0116643b576 100644 (file)
@@ -203,7 +203,7 @@ defmodule Pleroma.Notification do
 
   def skip?(:follows, activity, %{info: %{notification_settings: %{"follows" => false}}} = user) do
     actor = activity.data["actor"]
-    followed = User.get_by_ap_id(actor)
+    followed = User.get_cached_by_ap_id(actor)
     User.following?(user, followed)
   end