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

master
Damir Jelić 2020-12-04 16:58:20 +01:00
parent 1b6bdc3307
commit a5131a0a73
1 changed files with 2 additions and 2 deletions

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;
}