Merge remote-tracking branch 'pleroma/develop' into poll-notification-fixes
[akkoma] / lib / pleroma / web / mastodon_api / controllers / status_controller.ex
index 724dc5c5d9e7cf720466f19ff8d420636aed5eea..2eff4d9d08c04c9cd9ac8da5aaf2944ed8f75eb9 100644 (file)
@@ -27,10 +27,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusController do
 
   plug(Pleroma.Web.ApiSpec.CastAndValidate)
 
-  plug(
-    :skip_plug,
-    Pleroma.Web.Plugs.EnsurePublicOrAuthenticatedPlug when action in [:index, :show]
-  )
+  plug(:skip_public_check when action in [:index, :show])
 
   @unauthenticated_access %{fallback: :proceed_unauthenticated, scopes: []}