AdminAPI: show chat

This commit is contained in:
Alex Gleason 2020-09-01 19:49:46 -05:00
commit 9dd0b23da4
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
4 changed files with 59 additions and 2 deletions

View file

@ -216,7 +216,7 @@ defmodule Pleroma.Web.Router do
post("/media_proxy_caches/delete", MediaProxyCacheController, :delete)
post("/media_proxy_caches/purge", MediaProxyCacheController, :purge)
# get("/chats/:id", ChatController, :show)
get("/chats/:id", ChatController, :show)
get("/chats/:id/messages", ChatController, :messages)
delete("/chats/:id/messages/:message_id", ChatController, :delete_message)
end