From: lain Date: Mon, 26 Feb 2018 08:02:14 +0000 (+0100) Subject: Only return posts in TwAPI user view. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=a17ba0ee0df07c0ce12dd8773a974c45a1e539a4;p=akkoma Only return posts in TwAPI user view. --- 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