mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-05-11 08:27:06 +00:00
Lint
This commit is contained in:
@@ -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(),
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user