Implement client invite endpoint
Refactor room server to automatically determine auth events Add documentation in various places
This commit is contained in:
parent
6f8c224d50
commit
bcc6cbb24b
15 changed files with 345 additions and 209 deletions
|
@ -31,6 +31,12 @@ defmodule MatrixServerWeb.Federation.QueryController do
|
|||
end
|
||||
end
|
||||
|
||||
@doc """
|
||||
Performs a query to get profile information, such as a display name or avatar,
|
||||
for a given user.
|
||||
|
||||
Action for GET /_matrix/federation/v1/query/profile.
|
||||
"""
|
||||
def profile(conn, params) do
|
||||
with {:ok, %ProfileRequest{user_id: %UserId{localpart: localpart, domain: domain}}} <-
|
||||
ProfileRequest.validate(params) do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue