crypto: Log both user id versions when the device keys mismatch.

This commit is contained in:
Damir Jelić 2020-12-04 16:58:20 +01:00
parent 3f41e5071b
commit 0e66640b9f

View file

@ -136,8 +136,8 @@ impl IdentityManager {
if user_id != &device_keys.user_id || device_id != &device_keys.device_id {
warn!(
"Mismatch in device keys payload of device {} from user {}",
device_keys.device_id, device_keys.user_id
"Mismatch in device keys payload of device {}|{} from user {}|{}",
device_id, device_keys.device_id, user_id, device_keys.user_id
);
continue;
}