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
This commit is contained in:
lambda 2018-07-12 05:55:20 +00:00
commit 33b0334216

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,