You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-12-24 03:41:04 +03:00
*rude grumbling noises about @dbkr*
This commit is contained in:
@@ -813,7 +813,7 @@ export default createReactClass({
|
|||||||
for (const userId of verified) {
|
for (const userId of verified) {
|
||||||
const devices = await cli.getStoredDevicesForUser(userId);
|
const devices = await cli.getStoredDevicesForUser(userId);
|
||||||
const allDevicesVerified = devices.every(({deviceId}) => {
|
const allDevicesVerified = devices.every(({deviceId}) => {
|
||||||
return cli.checkDeviceTrust(userId, deviceId).isCrossSigningVerified();
|
return cli.checkDeviceTrust(userId, deviceId).isVerified();
|
||||||
});
|
});
|
||||||
if (!allDevicesVerified) {
|
if (!allDevicesVerified) {
|
||||||
this.setState({
|
this.setState({
|
||||||
|
|||||||
Reference in New Issue
Block a user