From: rinpatch Date: Fri, 13 Sep 2019 10:09:46 +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=517017048316a52172d60d26b03beddb85af7b39;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 009260d3f..025641722 100644 --- a/lib/pleroma/web/activity_pub/activity_pub_controller.ex +++ b/lib/pleroma/web/activity_pub/activity_pub_controller.ex @@ -26,10 +26,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubController do plug( Pleroma.Plugs.Cache, - [ - query_params: false, - tracking_fun: &Pleroma.Web.ActivityPub.ActivityPubController.track_object_fetch/2 - ] + [query_params: false, tracking_fun: &__MODULE__.track_object_fetch/2] when action in [:activity, :object] )