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