From a8701282d422b8108b4998de4a9bea6cebf199ea Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Thu, 14 Sep 2017 09:14:08 +0200 Subject: MastoAPI: fake out 'application' property. --- lib/pleroma/web/mastodon_api/views/status_view.ex | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3