Commit 65fc2df7 authored by lain's avatar lain
Browse files

Use follow_all in autofollow.

parent 26938d65
Pipeline #6096 passed with stages
in 5 minutes and 56 seconds
......@@ -247,10 +247,7 @@ defp autofollow_users(user) do
|> Repo.all()
|> Enum.reduce({:ok, user}, fn other_user, {:ok, user} ->
follow(user, other_user)
follow_all(user, autofollowed_users)
@doc "Inserts provided changeset, performs post-registration actions (confirmation email sending etc.)"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment