aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorFrancis Dinh <normandy@firemail.cc>2018-05-11 01:48:56 -0400
committerFrancis Dinh <normandy@firemail.cc>2018-05-11 01:48:56 -0400
commit42268b0981e47cacd9f27b985dcd0bf08819258b (patch)
treed96b57cd2f46ed6456708c3ec6a8946771ab586c /lib
parent07fdc072382007812dc6af80fa2912f6b6d987b8 (diff)
downloadpleroma-42268b0981e47cacd9f27b985dcd0bf08819258b.tar.gz
Use [] instead of nil
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/ostatus/activity_representer.ex3
1 files changed, 1 insertions, 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