From: href Date: Mon, 28 Jan 2019 11:24:14 +0000 (+0100) Subject: re f83bae7c: remove unnecessary filter X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=df2f7b39dd4e4879976fb40b67fa3087e828a6ce;p=akkoma re f83bae7c: remove unnecessary filter --- diff --git a/lib/pleroma/web/mastodon_api/views/status_view.ex b/lib/pleroma/web/mastodon_api/views/status_view.ex index 0f2679444..ddfe6788c 100644 --- 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(