1
0
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:
Richard van der Hoff
2016-07-28 14:30:33 +01:00
parent 59d7935934
commit 188802c5d3
3 changed files with 9 additions and 5 deletions

View File

@@ -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),
});
}
}