Commit d70d1c42 authored by lain's avatar lain
Browse files

TwitterAPI: Don't put follows into the public tls.

parent 81600c94
Pipeline #1099 failed with stage
in 3 minutes and 51 seconds
......@@ -45,7 +45,7 @@ defp extract_media_ids(status_data) 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 @@ def public_and_external_timeline(%{assigns: %{user: user}} = conn, params) 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)
......
Supports Markdown
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