add deprecated tag
authorMaksim Pechnikov <parallel588@gmail.com>
Thu, 26 Sep 2019 18:08:04 +0000 (21:08 +0300)
committerMaksim Pechnikov <parallel588@gmail.com>
Thu, 26 Sep 2019 18:08:04 +0000 (21:08 +0300)
lib/pleroma/web/mastodon_api/controllers/mastodon_api_controller.ex

index 5e1977b8e640d47cb59813904b152dc3e70cea4c..8f6b3456a30f8ceed80e31a46d2263d6f17a77a4 100644 (file)
@@ -1474,6 +1474,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
     end
   end
 
+  @doc false
+  @deprecated "https://github.com/tootsuite/mastodon/pull/11213"
   def status_card(%{assigns: %{user: user}} = conn, %{"id" => id}) do
     with %Activity{} = activity <- Activity.get_by_id(id),
          true <- Visibility.visible_for_user?(activity, user) do