From 0e66640b9f96d4c11a9120808988d644dc0a613d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Fri, 4 Dec 2020 16:58:20 +0100 Subject: [PATCH] crypto: Log both user id versions when the device keys mismatch. --- matrix_sdk_crypto/src/identities/manager.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matrix_sdk_crypto/src/identities/manager.rs b/matrix_sdk_crypto/src/identities/manager.rs index 02a440a0..48d5faf1 100644 --- a/matrix_sdk_crypto/src/identities/manager.rs +++ b/matrix_sdk_crypto/src/identities/manager.rs @@ -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; }