You've already forked matrix-js-sdk
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:
@@ -1218,9 +1218,9 @@ Crypto.prototype.setDeviceVerification = async function(
|
|||||||
[deviceId]: device,
|
[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;
|
return device;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user