diff --git a/crates/handlers/src/oauth2/discovery.rs b/crates/handlers/src/oauth2/discovery.rs index 3827ffbc0..b1d000f8f 100644 --- a/crates/handlers/src/oauth2/discovery.rs +++ b/crates/handlers/src/oauth2/discovery.rs @@ -187,7 +187,8 @@ pub(crate) async fn get( "org.matrix.device_view".to_owned(), "org.matrix.device_delete".to_owned(), "org.matrix.cross_signing_reset".to_owned(), - // These are unstable versions from MSC4191 and we will remove them once the above stable values have enough adoption by clients + // These are unstable versions from MSC4191 and we will remove them once the above + // stable values have enough adoption by clients "org.matrix.sessions_list".to_owned(), "org.matrix.session_view".to_owned(), "org.matrix.session_end".to_owned(), diff --git a/frontend/src/routes/_account.index.tsx b/frontend/src/routes/_account.index.tsx index 3c155b0fc..86f0bd8ed 100644 --- a/frontend/src/routes/_account.index.tsx +++ b/frontend/src/routes/_account.index.tsx @@ -65,14 +65,26 @@ const actionSchema = v.variant("action", [ action: v.picklist(["org.matrix.profile", "profile"]), }), v.object({ - action: v.picklist(["org.matrix.devices_list", "sessions_list", "org.matrix.sessions_list"]), + action: v.picklist([ + "org.matrix.devices_list", + "sessions_list", + "org.matrix.sessions_list", + ]), }), v.object({ - action: v.picklist(["org.matrix.device_view", "session_view", "org.matrix.session_view"]), + action: v.picklist([ + "org.matrix.device_view", + "session_view", + "org.matrix.session_view", + ]), device_id: v.optional(v.string()), }), v.object({ - action: v.picklist(["org.matrix.device_delete", "session_end", "org.matrix.session_end"]), + action: v.picklist([ + "org.matrix.device_delete", + "session_end", + "org.matrix.session_end", + ]), device_id: v.optional(v.string()), }), v.object({