From: Ivan Tashkinov Date: Fri, 14 Dec 2018 11:01:00 +0000 (+0300) Subject: [#114] Removed `confirm_email` action stub (to be addressed in a separate MR). X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=66380b0641534f252f297b67b03d811a714b848d;p=akkoma [#114] Removed `confirm_email` action stub (to be addressed in a separate MR). --- diff --git a/lib/pleroma/web/twitter_api/twitter_api_controller.ex b/lib/pleroma/web/twitter_api/twitter_api_controller.ex index 0ae0a0fea..38eff8191 100644 --- a/lib/pleroma/web/twitter_api/twitter_api_controller.ex +++ b/lib/pleroma/web/twitter_api/twitter_api_controller.ex @@ -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})