[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 @@ def render(
%{ %{
id: to_string(activity.id), id: to_string(activity.id),
uri: object, uri: object,
# TODO: This might be wrong, check with mastodon. url: object,
url: nil,
account: AccountView.render("account.json", %{user: user}), account: AccountView.render("account.json", %{user: user}),
in_reply_to_id: nil, in_reply_to_id: nil,
in_reply_to_account_id: nil, in_reply_to_account_id: nil,