forked from AkkomaGang/akkoma
Apply suggestion to lib/pleroma/web/activity_pub/activity_pub_controller.ex
This commit is contained in:
parent
00abe099cd
commit
ffcd742aa0
1 changed files with 2 additions and 3 deletions
|
@ -309,10 +309,9 @@ def handle_user_activity(_, _) do
|
||||||
end
|
end
|
||||||
|
|
||||||
def update_outbox(
|
def update_outbox(
|
||||||
%{assigns: %{user: %User{nickname: user_nickname} = user}} = conn,
|
%{assigns: %{user: %User{nickname: nickname} = user}} = conn,
|
||||||
%{"nickname" => nickname} = params
|
%{"nickname" => nickname} = params
|
||||||
)
|
) do
|
||||||
when user_nickname == nickname do
|
|
||||||
actor = user.ap_id()
|
actor = user.ap_id()
|
||||||
|
|
||||||
params =
|
params =
|
||||||
|
|
Loading…
Reference in a new issue