Skip to content
Snippets Groups Projects
Commit c89b9022 authored by kaniini's avatar kaniini
Browse files

twitter api: also remove explicit User.follow here

parent 62c95e8d
Branches
No related tags found
No related merge requests found
......@@ -25,7 +25,6 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment