From d70d1c427a29411f2b47789f91894cd08f91ba6e Mon Sep 17 00:00:00 2001 From: lain Date: Wed, 4 Apr 2018 15:23:27 +0200 Subject: [PATCH] TwitterAPI: Don't put follows into the public tls. --- lib/pleroma/web/twitter_api/twitter_api_controller.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pleroma/web/twitter_api/twitter_api_controller.ex b/lib/pleroma/web/twitter_api/twitter_api_controller.ex index 157e4826b..5f44e46c0 100644 --- a/lib/pleroma/web/twitter_api/twitter_api_controller.ex +++ b/lib/pleroma/web/twitter_api/twitter_api_controller.ex @@ -45,7 +45,7 @@ defmodule Pleroma.Web.TwitterAPI.Controller do def public_and_external_timeline(%{assigns: %{user: user}} = conn, params) do params = params - |> Map.put("type", ["Create", "Announce", "Follow"]) + |> Map.put("type", ["Create", "Announce"]) |> Map.put("blocking_user", user) activities = ActivityPub.fetch_public_activities(params) @@ -57,7 +57,7 @@ defmodule Pleroma.Web.TwitterAPI.Controller do def public_timeline(%{assigns: %{user: user}} = conn, params) do params = params - |> Map.put("type", ["Create", "Announce", "Follow"]) + |> Map.put("type", ["Create", "Announce"]) |> Map.put("local_only", true) |> Map.put("blocking_user", user) -- 2.45.2