forked from AkkomaGang/akkoma
twitter api: also remove explicit User.follow here
This commit is contained in:
parent
62c95e8d4d
commit
c89b90222c
1 changed files with 0 additions and 1 deletions
|
@ -25,7 +25,6 @@ def delete(%User{} = user, id) do
|
|||
|
||||
def follow(%User{} = follower, params) do
|
||||
with {:ok, %User{} = followed} <- get_user(params),
|
||||
{:ok, follower} <- User.follow(follower, followed),
|
||||
{:ok, activity} <- ActivityPub.follow(follower, followed) do
|
||||
{:ok, follower, followed, activity}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue