re f83bae7c: remove unnecessary filter
authorhref <href@random.sh>
Mon, 28 Jan 2019 11:24:14 +0000 (12:24 +0100)
committerhref <href@random.sh>
Mon, 28 Jan 2019 11:24:14 +0000 (12:24 +0100)
lib/pleroma/web/mastodon_api/views/status_view.ex

index 0f26794441e78a03ece52daadf840d1b97ca6ff0..ddfe6788cd5a0b864bb320e29bf1eedbd4c1ad22 100644 (file)
@@ -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(