1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

expand e2ee logging to better debug UISIs

This commit is contained in:
Matthew Hodgson
2019-11-26 01:17:12 +00:00
parent ccc85d98e2
commit 2215087f96
5 changed files with 26 additions and 21 deletions

View File

@@ -2296,6 +2296,8 @@ Crypto.prototype._getTrackedE2eRooms = function() {
Crypto.prototype._onToDeviceEvent = function(event) {
try {
console.log(`received to_device ${event.getType()} from: ${event.getSender()} id: ${event.getId()}`);
if (event.getType() == "m.room_key"
|| event.getType() == "m.forwarded_room_key") {
this._onRoomKeyEvent(event);