Add API endpoint to remove a conversation

This commit is contained in:
Egor Kislitsyn 2021-02-15 21:48:13 +04:00
commit cf6d3db58f
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805
8 changed files with 76 additions and 9 deletions

View file

@ -436,6 +436,7 @@ defmodule Pleroma.Web.Router do
get("/conversations", ConversationController, :index)
post("/conversations/:id/read", ConversationController, :mark_as_read)
delete("/conversations/:id", ConversationController, :delete)
get("/domain_blocks", DomainBlockController, :index)
post("/domain_blocks", DomainBlockController, :create)