From 3c1c64580680b2db3821252ace3fb18c6e7f9427 Mon Sep 17 00:00:00 2001 From: valere Date: Mon, 26 Jun 2023 11:55:04 +0200 Subject: [PATCH] fix sdk ts is already in milliseconds --- .../java/org/matrix/android/sdk/internal/crypto/Device.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix-sdk-android/src/rustCrypto/java/org/matrix/android/sdk/internal/crypto/Device.kt b/matrix-sdk-android/src/rustCrypto/java/org/matrix/android/sdk/internal/crypto/Device.kt index 8d52099f4e..4cb329175b 100644 --- a/matrix-sdk-android/src/rustCrypto/java/org/matrix/android/sdk/internal/crypto/Device.kt +++ b/matrix-sdk-android/src/rustCrypto/java/org/matrix/android/sdk/internal/crypto/Device.kt @@ -187,7 +187,7 @@ internal class Device @AssistedInject constructor( locallyVerified = innerDevice.locallyTrusted ), isBlocked = innerDevice.isBlocked, - firstTimeSeenLocalTs = innerDevice.firstTimeSeenTs.toLong() * 1000 + firstTimeSeenLocalTs = innerDevice.firstTimeSeenTs.toLong() ) } }