Skip to content

Commit 4aaf228

Browse files
committed
Fix | Share room keys with dehydrated devices
1 parent b116ce3 commit 4aaf228

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/crypto/model/rest/DeviceKeysWithUnsigned.kt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,11 @@ internal data class DeviceKeysWithUnsigned(
5858
* Additional data added to the device key information by intermediate servers, and not covered by the signatures.
5959
*/
6060
@Json(name = "unsigned")
61-
val unsigned: UnsignedDeviceInfo? = null
61+
val unsigned: UnsignedDeviceInfo? = null,
62+
63+
/**
64+
* Optional property `dehydrated`, which is set to true for dehydrated devices.
65+
*/
66+
@Json(name = "dehydrated")
67+
val dehydrated: Boolean? = null,
6268
)

0 commit comments

Comments
 (0)