aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/router.ex
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-04-09 17:18:31 +0200
committerlain <lain@soykaf.club>2020-04-09 17:18:31 +0200
commit2cc68414245805dc3b83c200798e424f139e71fc (patch)
treef2c58b2a6d9e7ea385f22081f0d218de1654f1c0 /lib/pleroma/web/router.ex
parente8fd0dd689be0c7bbca006f7267955329279da98 (diff)
downloadpleroma-2cc68414245805dc3b83c200798e424f139e71fc.tar.gz
ChatController: Basic message posting.
Diffstat (limited to 'lib/pleroma/web/router.ex')
-rw-r--r--lib/pleroma/web/router.ex1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex
index 368e77d3e..ce69725dc 100644
--- a/lib/pleroma/web/router.ex
+++ b/lib/pleroma/web/router.ex
@@ -290,6 +290,7 @@ defmodule Pleroma.Web.Router do
post("/chats/by-ap-id/:ap_id", ChatController, :create)
get("/chats", ChatController, :index)
get("/chats/:id/messages", ChatController, :messages)
+ post("/chats/:id/messages", ChatController, :post_chat_message)
end
scope [] do