From 0c7f2dbab3f6986213472ed6fd2d01fe371f7366 Mon Sep 17 00:00:00 2001 From: href Date: Sat, 4 Sep 2021 13:06:21 +0200 Subject: matrix: fixes --- lib/lsg_web/router.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/lsg_web/router.ex') diff --git a/lib/lsg_web/router.ex b/lib/lsg_web/router.ex index dc49c9f..e872cef 100644 --- a/lib/lsg_web/router.ex +++ b/lib/lsg_web/router.ex @@ -56,13 +56,13 @@ defmodule LSGWeb.Router do get "/:network/:chan/alcoolog/t/:token", AlcoologController, :token end - scope "/_matrix/appservice", MatrixAppServiceWeb.V1, as: :matrix do + scope "/_matrix/:appservice", MatrixAppServiceWeb.V1, as: :matrix do pipe_through :matrix_app_service put "/transactions/:txn_id", TransactionController, :push get "/users/:user_id", UserController, :query - get "/rooms/:room_alias", RoomController, :query + get "/rooms/*room_alias", RoomController, :query get "/thirdparty/protocol/:protocol", ThirdPartyController, :query_protocol get "/thirdparty/user/:protocol", ThirdPartyController, :query_users -- cgit v1.2.3