aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/notification.ex
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2020-05-27 14:17:12 +0000
committerrinpatch <rinpatch@sdf.org>2020-05-27 14:17:12 +0000
commitd35be02e7064da8ffce51fb10a937af30b145c7b (patch)
tree190b66745954121399abbb225784b470984006ce /lib/pleroma/notification.ex
parent91f73a7592049ffe2b1a99e86c6f4ee51218c768 (diff)
parent6bd7070b00a8d0ac64292f4c7152b71bee5f6b69 (diff)
downloadpleroma-d35be02e7064da8ffce51fb10a937af30b145c7b.tar.gz
Merge branch 'refactor-add-mention-step-one' into 'develop'
Fix ObjectView calling into strange functions Closes #1807 See merge request pleroma/pleroma!2580
Diffstat (limited to 'lib/pleroma/notification.ex')
-rw-r--r--lib/pleroma/notification.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pleroma/notification.ex b/lib/pleroma/notification.ex
index fb16ec896..7eca55ac9 100644
--- a/lib/pleroma/notification.ex
+++ b/lib/pleroma/notification.ex
@@ -361,7 +361,8 @@ defmodule Pleroma.Notification do
when type in ["Create", "Like", "Announce", "Follow", "Move", "EmojiReact"] do
potential_receiver_ap_ids = get_potential_receiver_ap_ids(activity)
- potential_receivers = User.get_users_from_set(potential_receiver_ap_ids, local_only)
+ potential_receivers =
+ User.get_users_from_set(potential_receiver_ap_ids, local_only: local_only)
notification_enabled_ap_ids =
potential_receiver_ap_ids