1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-21 07:42:09 +03:00

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) {