mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 08:36:29 +00:00
TwitterAPI: Don't put follows into the public tls.
This commit is contained in:
parent
81600c94f4
commit
d70d1c427a
1 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ defmodule Pleroma.Web.TwitterAPI.Controller do
|
|||
def public_and_external_timeline(%{assigns: %{user: user}} = conn, params) do
|
||||
params =
|
||||
params
|
||||
|> Map.put("type", ["Create", "Announce", "Follow"])
|
||||
|> Map.put("type", ["Create", "Announce"])
|
||||
|> Map.put("blocking_user", user)
|
||||
|
||||
activities = ActivityPub.fetch_public_activities(params)
|
||||
|
@ -57,7 +57,7 @@ defmodule Pleroma.Web.TwitterAPI.Controller do
|
|||
def public_timeline(%{assigns: %{user: user}} = conn, params) do
|
||||
params =
|
||||
params
|
||||
|> Map.put("type", ["Create", "Announce", "Follow"])
|
||||
|> Map.put("type", ["Create", "Announce"])
|
||||
|> Map.put("local_only", true)
|
||||
|> Map.put("blocking_user", user)
|
||||
|
||||
|
|
Loading…
Reference in a new issue