diff options
author | lain <lain@soykaf.club> | 2020-05-21 15:08:56 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-05-21 15:08:56 +0200 |
commit | cc0d462e91dd29c834c56b82e02022e1babda369 (patch) | |
tree | f35287bc7b84d60df4074fd630a7c77d0e60f5aa /lib | |
parent | 814c3e51714b2a7de30ed751a6aef361fc712807 (diff) | |
download | pleroma-cc0d462e91dd29c834c56b82e02022e1babda369.tar.gz |
Attachments: Have the mediaType on the root, too.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/upload.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/upload.ex b/lib/pleroma/upload.ex index 1be1a3a5b..797555bff 100644 --- a/lib/pleroma/upload.ex +++ b/lib/pleroma/upload.ex @@ -67,6 +67,7 @@ defmodule Pleroma.Upload do {:ok, %{ "type" => opts.activity_type, + "mediaType" => upload.content_type, "url" => [ %{ "type" => "Link", |