remove single-step pipe
authorSadposter <hannah+pleroma@coffee-and-dreams.uk>
Wed, 11 Dec 2019 09:08:20 +0000 (09:08 +0000)
committerSadposter <hannah+pleroma@coffee-and-dreams.uk>
Wed, 11 Dec 2019 09:08:20 +0000 (09:08 +0000)
lib/pleroma/web/activity_pub/activity_pub.ex

index c6744e5f254b1bda132a4d3db8eb51babc8d9de6..2bb3ad635855e3366fd01e4bb837a5ed7995eacc 100644 (file)
@@ -950,9 +950,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
     blocked_ap_ids = opts["blocked_users_ap_ids"] || User.blocked_users_ap_ids(user)
     domain_blocks = user.domain_blocks || []
 
-    following_ap_ids =
-      user
-      |> User.get_friends_ap_ids()
+    following_ap_ids = User.get_friends_ap_ids(user)
 
     query =
       if has_named_binding?(query, :object), do: query, else: Activity.with_joined_object(query)