format
authorFloatingGhost <hannah@coffee-and-dreams.uk>
Mon, 10 Oct 2022 16:13:42 +0000 (17:13 +0100)
committerFloatingGhost <hannah@coffee-and-dreams.uk>
Mon, 10 Oct 2022 16:13:42 +0000 (17:13 +0100)
lib/pleroma/activity.ex

index 12601b4af7ce6566e06d0ffb944be69152a3e7d5..b01a838d865363aaad1fc63ecba09180d1146f5d 100644 (file)
@@ -369,7 +369,14 @@ defmodule Pleroma.Activity do
 
   def restrict_deactivated_users(query) do
     query
-    |> join(:inner_lateral, [activity], active in fragment("SELECT is_active from users WHERE ap_id = ? AND is_active = TRUE", activity.actor))
+    |> join(
+      :inner_lateral,
+      [activity],
+      active in fragment(
+        "SELECT is_active from users WHERE ap_id = ? AND is_active = TRUE",
+        activity.actor
+      )
+    )
   end
 
   defdelegate search(user, query, options \\ []), to: Pleroma.Search.DatabaseSearch