ChatView: Add update_at field.
[akkoma] / lib / pleroma / web / router.ex
index 3b1834d97ff2e1c0c0390a841faf805b67e93b46..0e4f45869aff082642eb7298aab96afa8379643b 100644 (file)
@@ -310,6 +310,7 @@ defmodule Pleroma.Web.Router do
       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