ChatController: Add GET /chats/:id
[akkoma] / lib / pleroma / web / router.ex
index 4b264c43ec1bea39a6b6f2297925457e7f39d3fe..3b1834d97ff2e1c0c0390a841faf805b67e93b46 100644 (file)
@@ -307,6 +307,7 @@ 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)
       post("/chats/:id/read", ChatController, :mark_as_read)