From: William Pitcock Date: Fri, 25 May 2018 08:35:38 +0000 (+0000) Subject: twitter api: also remove explicit User.follow here X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=c89b90222c50dcb6f08e8987709dd2bac961f1cb;p=akkoma twitter api: also remove explicit User.follow here --- diff --git a/lib/pleroma/web/twitter_api/twitter_api.ex b/lib/pleroma/web/twitter_api/twitter_api.ex index 3ccdaed6f..903c99a8e 100644 --- a/lib/pleroma/web/twitter_api/twitter_api.ex +++ b/lib/pleroma/web/twitter_api/twitter_api.ex @@ -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