TimelineController: Only return Create in public timelines.

This commit is contained in:
lain 2020-06-01 13:17:56 +02:00
commit d4d4b92f75
2 changed files with 10 additions and 3 deletions

View file

@ -111,7 +111,7 @@ defmodule Pleroma.Web.MastodonAPI.TimelineController do
else
activities =
params
|> Map.put("type", ["Create", "Announce"])
|> Map.put("type", ["Create"])
|> Map.put("local_only", local_only)
|> Map.put("blocking_user", user)
|> Map.put("muting_user", user)