aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFrancis Dinh <normandy@firemail.cc>2018-05-11 11:53:06 -0400
committerFrancis Dinh <normandy@firemail.cc>2018-05-11 11:53:06 -0400
commit0b527b552887d33794c64e82da13fe037fe0b5b2 (patch)
tree3c7e6a3f9abce9a0c3a05b899daaa393befb9f84 /lib
parent42268b0981e47cacd9f27b985dcd0bf08819258b (diff)
downloadpleroma-0b527b552887d33794c64e82da13fe037fe0b5b2.tar.gz
Revert "Use [] instead of nil"
This reverts commit 42268b0981e47cacd9f27b985dcd0bf08819258b.
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/ostatus/activity_representer.ex3
1 files changed, 2 insertions, 1 deletions
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