From: rinpatch Date: Fri, 13 Sep 2019 15:23:03 +0000 (+0000) Subject: Apply suggestion to lib/pleroma/web/activity_pub/activity_pub_controller.ex X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=2784962dba295ee35677e93996df53d1711e5768;p=akkoma Apply suggestion to lib/pleroma/web/activity_pub/activity_pub_controller.ex --- diff --git a/lib/pleroma/web/activity_pub/activity_pub_controller.ex b/lib/pleroma/web/activity_pub/activity_pub_controller.ex index 4bd13defb..70d4a5baf 100644 --- a/lib/pleroma/web/activity_pub/activity_pub_controller.ex +++ b/lib/pleroma/web/activity_pub/activity_pub_controller.ex @@ -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)