diff options
author | Francis Dinh <normandy@firemail.cc> | 2018-05-11 01:48:56 -0400 |
---|---|---|
committer | Francis Dinh <normandy@firemail.cc> | 2018-05-11 01:48:56 -0400 |
commit | 42268b0981e47cacd9f27b985dcd0bf08819258b (patch) | |
tree | d96b57cd2f46ed6456708c3ec6a8946771ab586c /lib | |
parent | 07fdc072382007812dc6af80fa2912f6b6d987b8 (diff) | |
download | pleroma-42268b0981e47cacd9f27b985dcd0bf08819258b.tar.gz |
Use [] instead of nil
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/ostatus/activity_representer.ex | 3 |
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 |