encode data properly
[akkoma] / lib / pleroma / notification.ex
index fb16ec8967efa82c55950208e9c2aaab65381d99..7eca55ac9fd76dd80b4cc4f6b2737d4444c4a890 100644 (file)
@@ -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