mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-11 07:33:01 +02:00
impl MSC2966: register clients dynamically
This commit is contained in:
parent
5ab7b61129
commit
eb4c6f9d13
4 changed files with 108 additions and 0 deletions
|
@ -130,6 +130,9 @@ pub fn build(router: Router<State>, server: &Server) -> Router<State> {
|
|||
post(client::oidc_login))
|
||||
.route("/_matrix/client/unstable/org.matrix.msc2964/token",
|
||||
post(client::token))
|
||||
// MSC2966 route.
|
||||
.route("/_matrix/client/unstable/org.matrix.msc2964/device/register",
|
||||
post(client::register_client))
|
||||
.ruma_route(&client::send_message_event_route)
|
||||
.ruma_route(&client::send_state_event_for_key_route)
|
||||
.ruma_route(&client::get_state_events_route)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue