1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

Don't emit event here, as per comment

This commit is contained in:
David Baker
2019-11-14 17:41:58 +00:00
parent 5937185ce9
commit ce2d1d6e2b

View File

@@ -1218,9 +1218,9 @@ Crypto.prototype.setDeviceVerification = async function(
[deviceId]: device,
},
});
// XXX: we'll need to wait for the device list to be updated
// This will emit events when it comes back down the sync
// (we could do local echo to speed things up)
}
this.emit("userTrustStatusChanged", userId, this.checkUserTrust(userId));
return device;
}