Render blurhashes in Mastodon API

This commit is contained in:
Mark Felder 2020-11-11 12:51:13 -06:00
commit 2254e5e595
2 changed files with 5 additions and 2 deletions

View file

@ -435,7 +435,8 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
text_url: href,
type: type,
description: attachment["name"],
pleroma: %{mime_type: media_type}
pleroma: %{mime_type: media_type},
blurhash: attachment["blurhash"]
}
end