Calculate and set event id using reference hash
This commit is contained in:
parent
8696b0fb96
commit
1781575e75
6 changed files with 177 additions and 108 deletions
|
@ -2,7 +2,9 @@ defmodule MatrixServerWeb.Federation.EventController do
|
|||
use MatrixServerWeb, :controller
|
||||
use MatrixServerWeb.Federation.AuthenticateServer
|
||||
|
||||
def event(conn, %{"event_id" => event_id}) do
|
||||
|
||||
def event(conn, %{"event_id" => _event_id}) do
|
||||
conn
|
||||
|> put_status(200)
|
||||
|> json(%{})
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue