mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
no need to verify our own devices for every room
This commit is contained in:
parent
82c5349c4e
commit
8efc45b31a
1 changed files with 1 additions and 1 deletions
|
@ -820,7 +820,7 @@ export default createReactClass({
|
|||
|
||||
/* At this point, either `verified` or `unverified` is empty, or both */
|
||||
/* Check all verified user devices. We don't care if everyone's unverified anyway. */
|
||||
for (const userId of [...verified, cli.getUserId()]) {
|
||||
for (const userId of verified) {
|
||||
const devices = await cli.getStoredDevicesForUser(userId);
|
||||
const allDevicesVerified = devices.every(({deviceId}) => {
|
||||
return cli.checkDeviceTrust(userId, deviceId).isCrossSigningVerified();
|
||||
|
|
Loading…
Reference in a new issue