Fixed missing support for `with_muted` param in direct timeline.
authorIvan Tashkinov <ivantashkinov@gmail.com>
Mon, 18 May 2020 16:00:00 +0000 (19:00 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Mon, 18 May 2020 16:00:00 +0000 (19:00 +0300)
lib/pleroma/web/api_spec/operations/timeline_operation.ex

index cb9d75841088de66da1fc192b1978a65d1cdb57d..8e19bace7a9285a5a6b18814a0120b72529376be 100644 (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: %{