Only return posts in TwAPI user view.
authorlain <lain@soykaf.club>
Mon, 26 Feb 2018 08:02:14 +0000 (09:02 +0100)
committerlain <lain@soykaf.club>
Mon, 26 Feb 2018 08:02:14 +0000 (09:02 +0100)
lib/pleroma/web/twitter_api/twitter_api.ex

index 34e3d75af32623c7554e0eb1a0a236cd93262ada..987a960bb6b572369e8a879162a7dd17838281a9 100644 (file)
@@ -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