X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fnotification.ex;h=dd274cf6b22b8bdb2412b79d759f1bd7189e2239;hb=2aee62a4565d36983484ead9dda187e9e8188971;hp=b357d5399d024cc0968acc5b8719206a2306184c;hpb=30a4318ef15a912f9dfc0e8e206cbc6c10197709;p=akkoma diff --git a/lib/pleroma/notification.ex b/lib/pleroma/notification.ex index b357d5399..dd274cf6b 100644 --- a/lib/pleroma/notification.ex +++ b/lib/pleroma/notification.ex @@ -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