1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-29 19:05:19 +01:00

[Pleroma.Web.MastodonAPI.StatusView]: Fill the url field for statuses

Closes: https://git.pleroma.social/pleroma/pleroma/issues/231
This commit is contained in:
Haelwenn (lanodan) Monnier 2018-07-02 06:28:21 +02:00
parent d386e8a825
commit 7a351cb36f
No known key found for this signature in database
GPG Key ID: D5B7A8E43C997DEE

View File

@ -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,