From: Ivan Tashkinov Date: Mon, 18 May 2020 16:00:00 +0000 (+0300) Subject: Fixed missing support for `with_muted` param in direct timeline. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=5735b5c8beccf7c5ff1cd6586d7e4bb6bc8bda12;p=akkoma Fixed missing support for `with_muted` param in direct timeline. --- diff --git a/lib/pleroma/web/api_spec/operations/timeline_operation.ex b/lib/pleroma/web/api_spec/operations/timeline_operation.ex index cb9d75841..8e19bace7 100644 --- a/lib/pleroma/web/api_spec/operations/timeline_operation.ex +++ b/lib/pleroma/web/api_spec/operations/timeline_operation.ex @@ -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: %{