From: Roger Braun Date: Fri, 14 Apr 2017 15:29:27 +0000 (+0200) Subject: Make new users follow themselves. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=8c2aad1cabfc708084585a4f4afdccc481657d0e;p=akkoma Make new users follow themselves. --- diff --git a/lib/mix/tasks/register_user.ex b/lib/mix/tasks/register_user.ex index e2f36c34c..17535f190 100644 --- a/lib/mix/tasks/register_user.ex +++ b/lib/mix/tasks/register_user.ex @@ -14,7 +14,7 @@ defmodule Mix.Tasks.RegisterUser do bio: bio } - user = %{ user | ap_id: User.ap_id(user) } + user = %{ user | ap_id: User.ap_id(user), following: User.ap_followers(user) } Repo.insert!(user) end