WIP: show discrepancy between device_id and client_id

This commit is contained in:
lafleur 2025-08-12 20:41:11 +02:00
commit 9f983fe057

View file

@ -75,7 +75,8 @@ pub(crate) async fn upload_keys_route(
} }
if deser_device_keys.device_id != sender_device { if deser_device_keys.device_id != sender_device {
return Err!(Request(Unknown( return Err!(Request(Unknown(
"Device ID in keys uploaded does not match your own device ID" "Device ID in keys uploaded ({}) does not match your own device ID ({})",
deser_device_keys.device_id, sender_device,
))); )));
} }