1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-09 10:22:46 +03:00

oops, unbreak it

This commit is contained in:
Matthew Hodgson
2017-01-21 05:13:12 +00:00
parent fb820fa9a7
commit 34a0bd4c38

View File

@@ -433,8 +433,8 @@ MegolmEncryption.prototype._checkForUnknownDevices = function(devicesInRoom) {
if (device.isUnverified() && !device.isKnown()) {
// mark the devices as known to the user, given we're about to
// yell at them.
//this._crypto.setDeviceVerification(userId, device.deviceId,
// undefined, undefined, true);
this._crypto.setDeviceVerification(userId, device.deviceId,
undefined, undefined, true);
if (!unknownDevices[userId]) {
unknownDevices[userId] = {};
}