This commit is contained in:
Hugh Nimmo-Smith
2025-12-03 11:50:52 +00:00
parent ca9cedcfda
commit fd62b80df8
2 changed files with 17 additions and 4 deletions
+2 -1
View File
@@ -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(),
+15 -3
View File
@@ -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({