diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-09-14 09:14:08 +0200 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-09-14 09:14:08 +0200 |
commit | a8701282d422b8108b4998de4a9bea6cebf199ea (patch) | |
tree | 9e1c17d0b923673a0cd10f063b253a3a4bca18d0 /lib | |
parent | 6258c6b6b3f10b48c5ada457ed7042f7c97c1ffc (diff) | |
download | pleroma-a8701282d422b8108b4998de4a9bea6cebf199ea.tar.gz |
MastoAPI: fake out 'application' property.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/mastodon_api/views/status_view.ex | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/pleroma/web/mastodon_api/views/status_view.ex b/lib/pleroma/web/mastodon_api/views/status_view.ex index 7c8af994b..e561b32fe 100644 --- a/lib/pleroma/web/mastodon_api/views/status_view.ex +++ b/lib/pleroma/web/mastodon_api/views/status_view.ex @@ -52,7 +52,10 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do media_attachments: attachments, mentions: mentions, tags: [], # fix, - application: nil, + application: %{ + name: "Web", + website: nil + }, language: nil } end |