Merge branch 'direct-timeline-with-muted-param-fix' into 'develop'

Fixed missing support for `with_muted` param in direct timeline

See merge request pleroma/pleroma!2548
This commit is contained in:
lain 2020-05-18 16:27:54 +00:00
commit 8e9c939e42

View File

@ -43,7 +43,7 @@ defmodule Pleroma.Web.ApiSpec.TimelineOperation do
description:
"View statuses with a “direct” privacy, from your account or in your notifications",
deprecated: true,
parameters: pagination_params(),
parameters: [with_muted_param() | pagination_params()],
security: [%{"oAuth" => ["read:statuses"]}],
operationId: "TimelineController.direct",
responses: %{