Ingest blurhash field during transmogrification
authorMark Felder <feld@FreeBSD.org>
Wed, 11 Nov 2020 19:39:02 +0000 (13:39 -0600)
committerMark Felder <feld@FreeBSD.org>
Wed, 11 Nov 2020 19:39:02 +0000 (13:39 -0600)
lib/pleroma/web/activity_pub/transmogrifier.ex

index 39c8f7e396ac064afc69d185613aaa28f59b53e5..0bcd1db227ce62fcde9702d10e06fca21ca03485 100644 (file)
@@ -252,6 +252,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do
           }
           |> Maps.put_if_present("mediaType", media_type)
           |> Maps.put_if_present("name", data["name"])
+          |> Maps.put_if_present("blurhash", data["blurhash"])
         else
           nil
         end