commit: 33b033421649f6a7354616ff3458b856ca89637c
parent: b06e61bc4ea0a0b4c8e8ff9e4469b6def7e13932
Author: lambda <pleromagit@rogerbraun.net>
Date: Thu, 12 Jul 2018 05:55:20 +0000
Merge branch 'bugfix/status-url-field' into 'develop'
[Pleroma.Web.MastodonAPI.StatusView]: Fill the url field for statuses
Closes #231
See merge request pleroma/pleroma!246
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lib/pleroma/web/mastodon_api/views/status_view.ex b/lib/pleroma/web/mastodon_api/views/status_view.ex
@@ -54,8 +54,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
%{
id: to_string(activity.id),
uri: object,
- # TODO: This might be wrong, check with mastodon.
- url: nil,
+ url: object,
account: AccountView.render("account.json", %{user: user}),
in_reply_to_id: nil,
in_reply_to_account_id: nil,