mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-13 03:01:12 +00:00
Only return posts in TwAPI user view.
This commit is contained in:
parent
82df16f7c3
commit
a17ba0ee0d
|
@ -43,7 +43,7 @@ defmodule Pleroma.Web.TwitterAPI.TwitterAPI do
|
||||||
|
|
||||||
def fetch_user_statuses(user, opts \\ %{}) do
|
def fetch_user_statuses(user, opts \\ %{}) do
|
||||||
opts = opts
|
opts = opts
|
||||||
|> Map.put("type", ["Create", "Announce", "Follow"])
|
|> Map.put("type", ["Create"])
|
||||||
ActivityPub.fetch_public_activities(opts)
|
ActivityPub.fetch_public_activities(opts)
|
||||||
|> activities_to_statuses(%{for: user})
|
|> activities_to_statuses(%{for: user})
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue