1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-01 04:43:29 +03:00

Address my own review comments

This commit is contained in:
Richard van der Hoff
2017-01-25 11:02:49 +00:00
parent e79926db6c
commit 4ccd649358
2 changed files with 5 additions and 3 deletions

View File

@@ -711,7 +711,7 @@ Crypto.prototype.setDeviceVerification = function(userId, deviceId, verified,
}
let knownStatus = dev.known;
if (known !== null) {
if (known !== null && known !== undefined) {
knownStatus = known;
}