diff options
author | Roman Chvanikov <chvanikoff@gmail.com> | 2019-04-30 20:17:52 +0700 |
---|---|---|
committer | Roman Chvanikov <chvanikoff@gmail.com> | 2019-04-30 20:17:52 +0700 |
commit | 0f0cc2703b7ffb99c58e72782925ea4dd61db41d (patch) | |
tree | f640d180d16797a6da98a7d1e1cb7c6fb6350392 /lib/pleroma/notification.ex | |
parent | b87ad13803df59d88feb736c3d0ff9cf514989d7 (diff) | |
parent | 32a4501d2d1cdfef68cbde236482e0c84cce3a7a (diff) | |
download | pleroma-0f0cc2703b7ffb99c58e72782925ea4dd61db41d.tar.gz |
Merge develop
Diffstat (limited to 'lib/pleroma/notification.ex')
-rw-r--r-- | lib/pleroma/notification.ex | 2 |
1 files changed, 1 insertions, 1 deletions
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 |