Merge branch 'authorize-interaction' into 'develop'

Support /authorize-interaction route used by Mastodon

See merge request pleroma/pleroma!3957
This commit is contained in:
lain 2023-12-11 09:31:18 +00:00
commit 41c02b3d16
5 changed files with 45 additions and 0 deletions

View file

@ -471,6 +471,8 @@ defmodule Pleroma.Web.Router do
get("/main/ostatus", UtilController, :show_subscribe_form)
get("/ostatus_subscribe", RemoteFollowController, :follow)
post("/ostatus_subscribe", RemoteFollowController, :do_follow)
get("/authorize_interaction", RemoteFollowController, :authorize_interaction)
end
scope "/api/pleroma", Pleroma.Web.TwitterAPI do