From 4aaf22832f21451169d19b58b852ea24e21adddc Mon Sep 17 00:00:00 2001 From: Valere Date: Mon, 3 Jun 2024 17:57:20 +0200 Subject: [PATCH] Fix | Share room keys with dehydrated devices --- .../internal/crypto/model/rest/DeviceKeysWithUnsigned.kt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/model/rest/DeviceKeysWithUnsigned.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/model/rest/DeviceKeysWithUnsigned.kt index 32f577c99b..ca72c0819c 100644 --- a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/model/rest/DeviceKeysWithUnsigned.kt +++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/model/rest/DeviceKeysWithUnsigned.kt @@ -58,5 +58,11 @@ internal data class DeviceKeysWithUnsigned( * Additional data added to the device key information by intermediate servers, and not covered by the signatures. */ @Json(name = "unsigned") - val unsigned: UnsignedDeviceInfo? = null + val unsigned: UnsignedDeviceInfo? = null, + + /** + * Optional property `dehydrated`, which is set to true for dehydrated devices. + */ + @Json(name = "dehydrated") + val dehydrated: Boolean? = null, )