Merge branch 'split-masto-api/conversations' into 'develop'

Extract conversation actions from `MastodonAPIController` to ConversationController

See merge request pleroma/pleroma!1743
This commit is contained in:
kaniini 2019-09-30 10:49:40 +00:00
commit 74d8fadf37
6 changed files with 116 additions and 106 deletions

View file

@ -355,8 +355,8 @@ defmodule Pleroma.Web.Router do
get("/suggestions", MastodonAPIController, :suggestions)
get("/conversations", MastodonAPIController, :conversations)
post("/conversations/:id/read", MastodonAPIController, :conversation_read)
get("/conversations", ConversationController, :index)
post("/conversations/:id/read", ConversationController, :read)
get("/endorsements", MastodonAPIController, :empty_array)
end