handle room key request cancellations

This commit is contained in:
Richard van der Hoff 2017-06-01 17:49:24 +01:00
parent d5bc24d9f7
commit 7d55f3e75d
2 changed files with 52 additions and 6 deletions

View file

@ -920,6 +920,9 @@ module.exports = React.createClass({
cli.on("crypto.roomKeyRequest", (req) => {
krh.handleKeyRequest(req);
});
cli.on("crypto.roomKeyRequestCancellation", (req) => {
krh.handleKeyRequestCancellation(req);
});
},
showScreen: function(screen, params) {