forked from AkkomaGang/akkoma
Use [] instead of nil
This commit is contained in:
parent
07fdc07238
commit
42268b0981
1 changed files with 1 additions and 2 deletions
|
@ -271,8 +271,7 @@ def to_simple_form(%{data: %{"type" => "Undo"}} = activity, user, with_author) d
|
||||||
[]}
|
[]}
|
||||||
] ++ mentions ++ author
|
] ++ mentions ++ author
|
||||||
|
|
||||||
_ ->
|
_ -> []
|
||||||
nil
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue