fix: Allow unstable and stable device id query together

This commit is contained in:
Ginger authored and Ellis Git committed 2026-07-13 20:38:10 +00:00
1 parent 642d05048b
commit 24c6474bd1
2 files changed
+24 -21

No files matched your search

+2 -3
View File
@@ -15,10 +15,9 @@ use crate::{State, router::auth::CheckAuth};
#[derive(Deserialize)]
pub(crate) struct AuthQueryParams {
pub(super) user_id: Option<String>,
/// Device ID for appservice device masquerading (MSC3202/MSC4190).
/// Can be provided as `device_id` or `org.matrix.msc3202.device_id`.
#[serde(alias = "org.matrix.msc3202.device_id")]
pub(super) device_id: Option<String>,
#[serde(rename = "org.matrix.msc3202.device_id")]
pub(super) legacy_device_id: Option<String>,
}
/// Extractor for Ruma request structs