TimelineController: Only return Create in public timelines.
This commit is contained in:
parent
e96765df6b
commit
d4d4b92f75
2 changed files with 10 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue