remove single-step pipe
This commit is contained in:
parent
457821adb0
commit
1ad96d667a
1 changed files with 1 additions and 3 deletions
|
@ -950,9 +950,7 @@ defp restrict_blocked(query, %{"blocking_user" => %User{} = user} = opts) do
|
||||||
blocked_ap_ids = opts["blocked_users_ap_ids"] || User.blocked_users_ap_ids(user)
|
blocked_ap_ids = opts["blocked_users_ap_ids"] || User.blocked_users_ap_ids(user)
|
||||||
domain_blocks = user.domain_blocks || []
|
domain_blocks = user.domain_blocks || []
|
||||||
|
|
||||||
following_ap_ids =
|
following_ap_ids = User.get_friends_ap_ids(user)
|
||||||
user
|
|
||||||
|> User.get_friends_ap_ids()
|
|
||||||
|
|
||||||
query =
|
query =
|
||||||
if has_named_binding?(query, :object), do: query, else: Activity.with_joined_object(query)
|
if has_named_binding?(query, :object), do: query, else: Activity.with_joined_object(query)
|
||||||
|
|
Loading…
Reference in a new issue