architex/lib/matrix_server_web/federation/controllers/event_controller.ex

10 lines
252 B
Elixir

defmodule MatrixServerWeb.Federation.EventController do
use MatrixServerWeb, :controller
use MatrixServerWeb.Federation.AuthenticateServer
def event(conn, %{"event_id" => _event_id}) do
conn
|> put_status(200)
|> json(%{})
end
end