Skip to content

Commit eac2076

Browse files
committed
fixup! fix(crypto): Rename the device keys property for Olm messages
1 parent 53cdac9 commit eac2076

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,9 @@ mod tests {
350350

351351
// Also ensure that the encrypted payload has the device keys.
352352
let plaintext: Value = serde_json::from_str(&bob_session_result.plaintext).unwrap();
353-
assert_eq!(plaintext["device_keys"]["user_id"].as_str(), Some("@alice:localhost"));
353+
assert_eq!(
354+
plaintext["org.matrix.msc4147.device_keys"]["user_id"].as_str(),
355+
Some("@alice:localhost")
356+
);
354357
}
355358
}

0 commit comments

Comments
 (0)