1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-18 02:49:18 +00:00

add deprecated tag

This commit is contained in:
Maksim Pechnikov 2019-09-26 21:08:04 +03:00
parent b4fc96f640
commit 73ae38ca04

View file

@ -1474,6 +1474,8 @@ defp fetch_suggestion_id(attrs) 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