ChatView: Add update_at field.
[akkoma] / lib / pleroma / web / router.ex
index 4b264c43ec1bea39a6b6f2297925457e7f39d3fe..0e4f45869aff082642eb7298aab96afa8379643b 100644 (file)
@@ -307,8 +307,10 @@ defmodule Pleroma.Web.Router do
 
       post("/chats/by-account-id/:id", ChatController, :create)
       get("/chats", ChatController, :index)
+      get("/chats/:id", ChatController, :show)
       get("/chats/:id/messages", ChatController, :messages)
       post("/chats/:id/messages", ChatController, :post_chat_message)
+      delete("/chats/:id/messages/:message_id", ChatController, :delete_message)
       post("/chats/:id/read", ChatController, :mark_as_read)
     end