You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
Fix some broken tests
A number of the tests appear to have been broken since 90c919e without anyone
noticing; fix them.
This commit is contained in:
@@ -560,8 +560,8 @@ MatrixClient.prototype.listDeviceKeys = function(userId) {
|
||||
result.push({
|
||||
id: deviceId,
|
||||
key: ed25519Key,
|
||||
verified: device.verified == DeviceVerification.VERIFIED,
|
||||
blocked: device.verified == DeviceVerification.BLOCKED,
|
||||
verified: Boolean(device.verified == DeviceVerification.VERIFIED),
|
||||
blocked: Boolean(device.verified == DeviceVerification.BLOCKED),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user