1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-24 00:15:11 +01:00

[#114] Removed confirm_email action stub (to be addressed in a separate MR).

This commit is contained in:
Ivan Tashkinov 2018-12-14 14:01:00 +03:00
parent 07e93f9940
commit 66380b0641

View File

@ -333,8 +333,6 @@ defmodule Pleroma.Web.TwitterAPI.Controller do
end
end
def confirm_email(_conn, _params), do: :noop
def update_avatar(%{assigns: %{user: user}} = conn, params) do
{:ok, object} = ActivityPub.upload(params, type: :avatar)
change = Changeset.change(user, %{avatar: object.data})