From: Francis Dinh Date: Fri, 11 May 2018 05:48:56 +0000 (-0400) Subject: Use [] instead of nil X-Git-Url: http://git.squeep.com/?a=commitdiff_plain;h=42268b0981e47cacd9f27b985dcd0bf08819258b;p=akkoma Use [] instead of nil --- diff --git a/lib/pleroma/web/ostatus/activity_representer.ex b/lib/pleroma/web/ostatus/activity_representer.ex index 4f1976e1e..26d02a831 100644 --- a/lib/pleroma/web/ostatus/activity_representer.ex +++ b/lib/pleroma/web/ostatus/activity_representer.ex @@ -271,8 +271,7 @@ defmodule Pleroma.Web.OStatus.ActivityRepresenter do []} ] ++ mentions ++ author - _ -> - nil + _ -> [] end end