From 0b527b552887d33794c64e82da13fe037fe0b5b2 Mon Sep 17 00:00:00 2001 From: Francis Dinh Date: Fri, 11 May 2018 11:53:06 -0400 Subject: [PATCH] Revert "Use [] instead of nil" This reverts commit 42268b0981e47cacd9f27b985dcd0bf08819258b. --- lib/pleroma/web/ostatus/activity_representer.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pleroma/web/ostatus/activity_representer.ex b/lib/pleroma/web/ostatus/activity_representer.ex index 26d02a831..4f1976e1e 100644 --- a/lib/pleroma/web/ostatus/activity_representer.ex +++ b/lib/pleroma/web/ostatus/activity_representer.ex @@ -271,7 +271,8 @@ defmodule Pleroma.Web.OStatus.ActivityRepresenter do []} ] ++ mentions ++ author - _ -> [] + _ -> + nil end end