From a17ba0ee0df07c0ce12dd8773a974c45a1e539a4 Mon Sep 17 00:00:00 2001 From: lain Date: Mon, 26 Feb 2018 09:02:14 +0100 Subject: [PATCH] Only return posts in TwAPI user view. --- lib/pleroma/web/twitter_api/twitter_api.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/web/twitter_api/twitter_api.ex b/lib/pleroma/web/twitter_api/twitter_api.ex index 34e3d75af..987a960bb 100644 --- a/lib/pleroma/web/twitter_api/twitter_api.ex +++ b/lib/pleroma/web/twitter_api/twitter_api.ex @@ -43,7 +43,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do def fetch_user_statuses(user, opts \\ %{}) do opts = opts - |> Map.put("type", ["Create", "Announce", "Follow"]) + |> Map.put("type", ["Create"]) ActivityPub.fetch_public_activities(opts) |> activities_to_statuses(%{for: user}) end -- 2.45.2