commit: de0fb88a9cf587b9613e267d5dddfe55b0f414b7
parent: 74ed1b4d87f5ee5570966179bc6094ac0be09533
Author: Haelwenn <contact+git.pleroma.social@hacktivis.me>
Date: Mon, 28 Jan 2019 11:48:03 +0000
Merge branch 'safe-render-activities' into 'develop'
remove unnecessary filter (re !723)
See merge request pleroma/pleroma!729
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/lib/pleroma/web/mastodon_api/views/status_view.ex b/lib/pleroma/web/mastodon_api/views/status_view.ex
@@ -54,7 +54,6 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
"status.json",
Map.put(opts, :replied_to_activities, replied_to_activities)
)
- |> Enum.filter(fn x -> not is_nil(x) end)
end
def render(