Merge develop
[akkoma] / lib / pleroma / notification.ex
index d79f0f563b261a17a4d891d90aa42e98f86d278b..bf45be96168c647902b8acb1386f04f059baaeae 100644 (file)
@@ -220,7 +220,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