AdminAPI: delete a chat message

This commit is contained in:
Alex Gleason 2020-08-31 19:56:05 -05:00
commit b40a627ab0
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
6 changed files with 214 additions and 0 deletions

View file

@ -214,6 +214,8 @@ defmodule Pleroma.Web.Router do
get("/media_proxy_caches", MediaProxyCacheController, :index)
post("/media_proxy_caches/delete", MediaProxyCacheController, :delete)
post("/media_proxy_caches/purge", MediaProxyCacheController, :purge)
delete("/chats/:id/messages/:message_id", ChatController, :delete_message)
end
scope "/api/pleroma/emoji", Pleroma.Web.PleromaAPI do