Use [] instead of nil

This commit is contained in:
Francis Dinh 2018-05-11 01:48:56 -04:00
parent 07fdc07238
commit 42268b0981
1 changed files with 1 additions and 2 deletions

View File

@ -271,8 +271,7 @@ defmodule Pleroma.Web.OStatus.ActivityRepresenter do
[]}
] ++ mentions ++ author
_ ->
nil
_ -> []
end
end