X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fnotification.ex;h=bf45be96168c647902b8acb1386f04f059baaeae;hb=0f0cc2703b7ffb99c58e72782925ea4dd61db41d;hp=d79f0f563b261a17a4d891d90aa42e98f86d278b;hpb=b87ad13803df59d88feb736c3d0ff9cf514989d7;p=akkoma diff --git a/lib/pleroma/notification.ex b/lib/pleroma/notification.ex index d79f0f563..bf45be961 100644 --- a/lib/pleroma/notification.ex +++ b/lib/pleroma/notification.ex @@ -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