Merge remote-tracking branch 'origin/develop' into merge-ogp-twitter-parsers
[akkoma] / lib / pleroma / web / mastodon_api / controllers / timeline_controller.ex
index ed74a771a399bffce0cea1456b01b9a1ccda8158..9270ca267a75f27704646f261a3a5c2150dd1191 100644 (file)
@@ -50,10 +50,8 @@ defmodule Pleroma.Web.MastodonAPI.TimelineController do
       |> Map.put(:reply_filtering_user, user)
       |> Map.put(:user, user)
 
-    recipients = [user.ap_id | User.following(user)]
-
     activities =
-      recipients
+      [user.ap_id | User.following(user)]
       |> ActivityPub.fetch_activities(params)
       |> Enum.reverse()