[Pleroma.Web.MastodonAPI.StatusView]: Fill the url field for statuses
Closes: https://git.pleroma.social/pleroma/pleroma/issues/231
This commit is contained in:
parent
d386e8a825
commit
7a351cb36f
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue