X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fnotification.ex;h=7eca55ac9fd76dd80b4cc4f6b2737d4444c4a890;hb=0a83af330b7f33601848bca79bd1651b45eaea87;hp=fb16ec8967efa82c55950208e9c2aaab65381d99;hpb=91f73a7592049ffe2b1a99e86c6f4ee51218c768;p=akkoma 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