1
0
Fork 0
forked from mirrors/akkoma

Use [] instead of nil

This commit is contained in:
Francis Dinh 2018-05-11 01:48:56 -04:00
parent 07fdc07238
commit 42268b0981

View file

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