Revert "Merge branch 'pleroma-card-image-description' into 'develop'"

This reverts merge request !4101
This commit is contained in:
feld 2024-05-07 23:20:38 +00:00
commit 750fb25f48
5 changed files with 1 additions and 10 deletions

View file

@ -58,10 +58,6 @@ defmodule Pleroma.Web.ApiSpec.Schemas.Status do
format: :uri,
description: "Preview thumbnail"
},
image_description: %Schema{
type: :string,
description: "Alternate text that describes what is in the thumbnail"
},
title: %Schema{type: :string, description: "Title of linked resource"},
description: %Schema{type: :string, description: "Description of preview"}
}

View file

@ -589,7 +589,6 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
provider_url: page_url_data.scheme <> "://" <> page_url_data.host,
url: page_url,
image: image_url,
image_description: rich_media["image:alt"] || "",
title: rich_media["title"] || "",
description: rich_media["description"] || "",
pleroma: %{