Apply suggestion to lib/pleroma/web/activity_pub/activity_pub_controller.ex
authorrinpatch <rinpatch@sdf.org>
Fri, 13 Sep 2019 15:23:03 +0000 (15:23 +0000)
committerrinpatch <rinpatch@sdf.org>
Fri, 13 Sep 2019 15:23:03 +0000 (15:23 +0000)
lib/pleroma/web/activity_pub/activity_pub_controller.ex

index 4bd13defbd7bed4466156c41e9fa92e323c2dce3..70d4a5baf319d975625819d227a361d76df893a8 100644 (file)
@@ -130,7 +130,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubController do
     assign(conn, :tracking_fun_data, object_id)
   end
 
-  defp maybe_set_tracking_data(conn, _activity), do: assign(conn, :tracking_fun_data, nil)
+  defp maybe_set_tracking_data(conn, _activity), do: conn
 
   defp set_cache_ttl_for(conn, %Activity{object: object}) do
     set_cache_ttl_for(conn, object)