You've already forked matrix-js-sdk
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user