Revert "Use [] instead of nil"
authorFrancis Dinh <normandy@firemail.cc>
Fri, 11 May 2018 15:53:06 +0000 (11:53 -0400)
committerFrancis Dinh <normandy@firemail.cc>
Fri, 11 May 2018 15:53:06 +0000 (11:53 -0400)
This reverts commit 42268b0981e47cacd9f27b985dcd0bf08819258b.

lib/pleroma/web/ostatus/activity_representer.ex

index 26d02a83111ca67586411dc0dd351c2b9333a750..4f1976e1ecf33d6d9cee87f3756ba2433ab2fc85 100644 (file)
@@ -271,7 +271,8 @@ defmodule Pleroma.Web.OStatus.ActivityRepresenter do
            []}
         ] ++ mentions ++ author
 
-      _ -> []
+      _ ->
+        nil
     end
   end