Revert "Use [] instead of nil"

This reverts commit 42268b0981.
This commit is contained in:
Francis Dinh 2018-05-11 11:53:06 -04:00
parent 42268b0981
commit 0b527b5528
1 changed files with 2 additions and 1 deletions

View File

@ -271,7 +271,8 @@ def to_simple_form(%{data: %{"type" => "Undo"}} = activity, user, with_author) d
[]} []}
] ++ mentions ++ author ] ++ mentions ++ author
_ -> [] _ ->
nil
end end
end end