Add with_muted param.
This commit is contained in:
parent
14bc6bd40f
commit
c4235f96bd
3 changed files with 13 additions and 0 deletions
|
|
@ -602,6 +602,8 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
|
|||
|
||||
defp restrict_reblogs(query, _), do: query
|
||||
|
||||
defp restrict_muted(query, %{"with_muted" => val}) when val in [true, "true", "1"], do: query
|
||||
|
||||
defp restrict_muted(query, %{"muting_user" => %User{info: info}}) do
|
||||
mutes = info.mutes
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue