From 42268b0981e47cacd9f27b985dcd0bf08819258b Mon Sep 17 00:00:00 2001 From: Francis Dinh Date: Fri, 11 May 2018 01:48:56 -0400 Subject: [PATCH] Use [] instead of nil --- lib/pleroma/web/ostatus/activity_representer.ex | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.45.2