1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-19 05:22:13 +03:00

Merge pull request #3860 from matrix-org/jryans/disable-key-request

Disable key request dialogs with cross-signing
This commit is contained in:
J. Ryan Stinnett
2020-01-17 14:24:23 +00:00
committed by GitHub
3 changed files with 19 additions and 0 deletions

View File

@@ -1383,6 +1383,8 @@ export default createReactClass({
cli.on("Session.logged_out", () => dft.stop());
cli.on("Event.decrypted", (e, err) => dft.eventDecrypted(e, err));
// TODO: We can remove this once cross-signing is the only way.
// https://github.com/vector-im/riot-web/issues/11908
const krh = new KeyRequestHandler(cli);
cli.on("crypto.roomKeyRequest", (req) => {
krh.handleKeyRequest(req);