Merge branch 'safe-render-activities' into 'develop'
remove unnecessary filter (re !723) See merge request pleroma/pleroma!729
This commit is contained in:
commit
de0fb88a9c
|
@ -54,7 +54,6 @@ def render("index.json", opts) do
|
||||||
"status.json",
|
"status.json",
|
||||||
Map.put(opts, :replied_to_activities, replied_to_activities)
|
Map.put(opts, :replied_to_activities, replied_to_activities)
|
||||||
)
|
)
|
||||||
|> Enum.filter(fn x -> not is_nil(x) end)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def render(
|
def render(
|
||||||
|
|
Loading…
Reference in New Issue