Merging with develop
[akkoma] / lib / pleroma / notification.ex
index b357d5399d024cc0968acc5b8719206a2306184c..dd274cf6b22b8bdb2412b79d759f1bd7189e2239 100644 (file)
@@ -196,7 +196,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