bump ruma, cargo.lock, and deps
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
36677bb982
commit
8311952629
3 changed files with 21 additions and 15 deletions
|
@ -3,7 +3,8 @@ use std::collections::BTreeMap;
|
|||
use axum::extract::State;
|
||||
use ruma::{
|
||||
api::client::discovery::get_capabilities::{
|
||||
self, Capabilities, RoomVersionStability, RoomVersionsCapability, ThirdPartyIdChangesCapability,
|
||||
self, Capabilities, GetLoginTokenCapability, RoomVersionStability, RoomVersionsCapability,
|
||||
ThirdPartyIdChangesCapability,
|
||||
},
|
||||
RoomVersionId,
|
||||
};
|
||||
|
@ -43,6 +44,11 @@ pub(crate) async fn get_capabilities_route(
|
|||
enabled: false,
|
||||
};
|
||||
|
||||
// we dont support generating tokens yet
|
||||
capabilities.get_login_token = GetLoginTokenCapability {
|
||||
enabled: false,
|
||||
};
|
||||
|
||||
// MSC4133 capability
|
||||
capabilities
|
||||
.set("uk.tcpip.msc4133.profile_fields", json!({"enabled": true}))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue