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

Closes: https://git.pleroma.social/pleroma/pleroma/issues/231
stable
Haelwenn (lanodan) Monnier 6 years ago
parent d386e8a825
commit 7a351cb36f
No known key found for this signature in database
GPG Key ID: D5B7A8E43C997DEE

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

Loading…
Cancel
Save