Change user.deactivated field to user.is_active
[akkoma] / lib / pleroma / following_relationship.ex
index 147cb9df0e82574c6f76f71e282ae7ac3882357b..a0c7e6e393a3ca5574832716738cbc1d480d3095 100644 (file)
@@ -152,7 +152,7 @@ defmodule Pleroma.FollowingRelationship do
     |> join(:inner, [r], f in assoc(r, :follower))
     |> where([r], r.state == ^:follow_pending)
     |> where([r], r.following_id == ^id)
-    |> where([r, f], f.deactivated != true)
+    |> where([r, f], f.is_active == true)
     |> select([r, f], f)
     |> Repo.all()
   end