summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorfeld <feld@feld.me>2024-05-07 23:20:38 +0000
committerfeld <feld@feld.me>2024-05-07 23:20:38 +0000
commit750fb25f48d1d90157100acee5d2ee019d0bd9be (patch)
treee3d67aff783e198ab51e3408e8c32458e4774d71 /lib
parentffa6805c0919abca6de2329ce01966d883876b30 (diff)
downloadpleroma-750fb25f48d1d90157100acee5d2ee019d0bd9be.tar.gz
pleroma-750fb25f48d1d90157100acee5d2ee019d0bd9be.zip
Revert "Merge branch 'pleroma-card-image-description' into 'develop'"
This reverts merge request !4101
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/api_spec/schemas/status.ex4
-rw-r--r--lib/pleroma/web/mastodon_api/views/status_view.ex1
2 files changed, 0 insertions, 5 deletions
diff --git a/lib/pleroma/web/api_spec/schemas/status.ex b/lib/pleroma/web/api_spec/schemas/status.ex
index 6e537b5da..a4052803b 100644
--- a/lib/pleroma/web/api_spec/schemas/status.ex
+++ b/lib/pleroma/web/api_spec/schemas/status.ex
@@ -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"}
}
diff --git a/lib/pleroma/web/mastodon_api/views/status_view.ex b/lib/pleroma/web/mastodon_api/views/status_view.ex
index 5a24d73c7..e464f60dc 100644
--- a/lib/pleroma/web/mastodon_api/views/status_view.ex
+++ b/lib/pleroma/web/mastodon_api/views/status_view.ex
@@ -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: %{