From: Maksim Date: Tue, 27 Aug 2019 17:37:19 +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=ffcd742aa0797b5bb872e58c1e605f22c8652250;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 5c73fc9f3..08bf1c752 100644 --- a/lib/pleroma/web/activity_pub/activity_pub_controller.ex +++ b/lib/pleroma/web/activity_pub/activity_pub_controller.ex @@ -309,10 +309,9 @@ defmodule Pleroma.Web.ActivityPub.ActivityPubController do end def update_outbox( - %{assigns: %{user: %User{nickname: user_nickname} = user}} = conn, + %{assigns: %{user: %User{nickname: nickname} = user}} = conn, %{"nickname" => nickname} = params - ) - when user_nickname == nickname do + ) do actor = user.ap_id() params =