Skip to content

Commit 53cdac9

Browse files
committed
fix(crypto): Rename the device keys property for Olm messages
Commit d41af39 implemented MSC4147, which puts the device keys into a Olm message. It failed to adhere to the unstable prefix proposed in the MSC: > Until this MSC is accepted, the new property should be named > org.matrix.msc4147.device_keys. This patch fixes this.
1 parent 1de3d16 commit 53cdac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/matrix-sdk-crypto/src/olm/session.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ impl Session {
156156
"keys": {
157157
"ed25519": self.our_device_keys.ed25519_key().expect("Device doesn't have ed25519 key").to_base64(),
158158
},
159-
"device_keys": self.our_device_keys,
159+
"org.matrix.msc4147.device_keys": self.our_device_keys,
160160
"recipient": recipient_device.user_id(),
161161
"recipient_keys": {
162162
"ed25519": recipient_signing_key.to_base64(),

0 commit comments

Comments
 (0)