Commit a17ba0ee authored by lain's avatar lain

Only return posts in TwAPI user view.

parent 82df16f7
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment