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 @@ def to_simple_form(%{data: %{"type" => "Undo"}} = activity, user, with_author) d []} ] ++ mentions ++ author - _ -> [] + _ -> + nil end end