mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-27 08:16:16 +00:00
Use [] instead of nil
This commit is contained in:
parent
07fdc07238
commit
42268b0981
|
@ -271,8 +271,7 @@ defmodule Pleroma.Web.OStatus.ActivityRepresenter do
|
||||||
[]}
|
[]}
|
||||||
] ++ mentions ++ author
|
] ++ mentions ++ author
|
||||||
|
|
||||||
_ ->
|
_ -> []
|
||||||
nil
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue